tools: add pw-dump tool

Dumps the complete object tree as json so that it can be processed
with tools like jq
This commit is contained in:
Wim Taymans 2020-12-14 15:22:16 +01:00
parent c61502f57c
commit 88fe2c4fb4
2 changed files with 1328 additions and 0 deletions

View file

@ -17,6 +17,13 @@ executable('pw-dot',
dependencies : [pipewire_dep], dependencies : [pipewire_dep],
) )
executable('pw-dump',
'pw-dump.c',
c_args : [ '-D_GNU_SOURCE' ],
install: true,
dependencies : [pipewire_dep],
)
executable('pw-profiler', executable('pw-profiler',
'pw-profiler.c', 'pw-profiler.c',
c_args : [ '-D_GNU_SOURCE' ], c_args : [ '-D_GNU_SOURCE' ],

1321
src/tools/pw-dump.c Normal file

File diff suppressed because it is too large Load diff