diff options
author | Stephen Brennan <stephen.s.brennan@oracle.com> | 2025-03-07 15:22:02 -0800 |
---|---|---|
committer | Namhyung Kim <namhyung@kernel.org> | 2025-03-10 14:37:02 -0700 |
commit | 71fa411fe8904b6fe62e2bf3c64af48fadf1abfb (patch) | |
tree | 5e270d4a56eb967b581de944cb2e7c5e7f4d5dfe /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 20ef723113cb1265bf187eef4cdbbd8d72a723ee (diff) |
perf tools: Add LZMA decompression from FILE
Internally lzma_decompress_to_file() creates a FILE from the filename.
Add an API that takes an existing FILE directly. This allows
decompressing already-open files and even buffers opened by fmemopen().
It is necessary for supporting .gnu_debugdata in the next patch.
Signed-off-by: Stephen Brennan <stephen.s.brennan@oracle.com>
Reviewed-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Link: https://lore.kernel.org/r/20250307232206.2102440-3-stephen.s.brennan@oracle.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions