modules: improve debug in profiler

Also log the node that we are inspecting.
This commit is contained in:
Wim Taymans 2026-03-11 12:42:06 +01:00
parent f45e619559
commit 00f1d6c3d8

View file

@ -166,7 +166,7 @@ static void do_flush_event(void *data, uint64_t count)
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) {
size_t size = total + avail + sizeof(struct spa_pod_struct);