mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-03-27 07:58:16 -04:00
modules: improve debug in profiler
Also log the node that we are inspecting.
This commit is contained in:
parent
f45e619559
commit
00f1d6c3d8
1 changed files with 1 additions and 1 deletions
|
|
@ -166,7 +166,7 @@ static void do_flush_event(void *data, uint64_t count)
|
||||||
|
|
||||||
avail = spa_ringbuffer_get_read_index(&n->buffer, &idx);
|
avail = spa_ringbuffer_get_read_index(&n->buffer, &idx);
|
||||||
|
|
||||||
pw_log_trace("%p: avail %d", impl, avail);
|
pw_log_trace("%p: node:%p avail %d", n, impl, avail);
|
||||||
|
|
||||||
if (avail > 0) {
|
if (avail > 0) {
|
||||||
size_t size = total + avail + sizeof(struct spa_pod_struct);
|
size_t size = total + avail + sizeof(struct spa_pod_struct);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue