mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
Improve some debug
This commit is contained in:
parent
b445d1b12e
commit
8e2ceb773e
3 changed files with 6 additions and 6 deletions
|
|
@ -742,7 +742,7 @@ impl_init(const struct spa_handle_factory *factory,
|
|||
impl->wakeup = spa_loop_utils_add_event(&impl->utils, wakeup_func, impl);
|
||||
impl->ack_fd = eventfd(0, EFD_CLOEXEC);
|
||||
|
||||
spa_log_info(impl->log, NAME " %p: initialized", impl);
|
||||
spa_log_debug(impl->log, NAME " %p: initialized", impl);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ struct pw_protocol *pw_protocol_new(struct pw_core *core,
|
|||
|
||||
spa_list_append(&core->protocol_list, &protocol->link);
|
||||
|
||||
pw_log_info("protocol %p: Created protocol %s", protocol, name);
|
||||
pw_log_debug("protocol %p: Created protocol %s", protocol, name);
|
||||
|
||||
return protocol;
|
||||
}
|
||||
|
|
@ -86,7 +86,7 @@ void pw_protocol_destroy(struct pw_protocol *protocol)
|
|||
struct pw_protocol_server *server, *t2;
|
||||
struct pw_protocol_client *client, *t3;
|
||||
|
||||
pw_log_info("protocol %p: destroy", protocol);
|
||||
pw_log_debug("protocol %p: destroy", protocol);
|
||||
spa_hook_list_call(&protocol->listener_list, struct pw_protocol_events, destroy);
|
||||
|
||||
spa_list_remove(&protocol->link);
|
||||
|
|
@ -128,7 +128,7 @@ pw_protocol_add_marshal(struct pw_protocol *protocol,
|
|||
|
||||
spa_list_append(&protocol->marshal_list, &impl->link);
|
||||
|
||||
pw_log_info("Add marshal %s:%d to protocol %s", marshal->type, marshal->version,
|
||||
pw_log_debug("Add marshal %s:%d to protocol %s", marshal->type, marshal->version,
|
||||
protocol->name);
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
|
|
@ -1034,8 +1034,8 @@ client_node_port_use_buffers(void *object,
|
|||
bid->ptr = mmap(NULL, bid->map.size, prot, MAP_SHARED, mid->fd, bid->map.offset);
|
||||
if (bid->ptr == MAP_FAILED) {
|
||||
bid->ptr = NULL;
|
||||
pw_log_warn("Failed to mmap memory %u %u: %m",
|
||||
bid->map.offset, bid->map.size);
|
||||
pw_log_warn("Failed to mmap memory %u %u %u %d: %m",
|
||||
bid->map.offset, bid->map.size, buffers[i].mem_id, mid->fd);
|
||||
continue;
|
||||
}
|
||||
if (mlock(bid->ptr, bid->map.size) < 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue