aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/python.c
diff options
context:
space:
mode:
authorStephen Brennan <[email protected]>2025-03-07 23:22:02 +0000
committerNamhyung Kim <[email protected]>2025-03-10 21:37:02 +0000
commit71fa411fe8904b6fe62e2bf3c64af48fadf1abfb (patch)
tree5e270d4a56eb967b581de944cb2e7c5e7f4d5dfe /tools/perf/util/python.c
parentperf tools: Add dummy functions for !HAVE_LZMA_SUPPORT (diff)
downloadkernel-71fa411fe8904b6fe62e2bf3c64af48fadf1abfb.tar.gz
kernel-71fa411fe8904b6fe62e2bf3c64af48fadf1abfb.zip
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 <[email protected]> Reviewed-by: Arnaldo Carvalho de Melo <[email protected]> Tested-by: Arnaldo Carvalho de Melo <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Namhyung Kim <[email protected]>
Diffstat (limited to 'tools/perf/util/python.c')
0 files changed, 0 insertions, 0 deletions