summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorTianyou Li <tianyou.li@intel.com>2025-06-10 07:04:22 +0300
committerNamhyung Kim <namhyung@kernel.org>2025-06-24 20:27:50 +0300
commitdf9c299371054cb725eef730fd0f1d0fe2ed6bb0 (patch)
tree7ceafa68eea0ae0536083dd2b8230c5388cdb20e /tools/perf/scripts/python/bin
parent317fa41b47da63730145e336c9ef47c62b78ee4f (diff)
downloadlinux-df9c299371054cb725eef730fd0f1d0fe2ed6bb0.tar.xz
perf script: Handle -i option for perf script flamegraph
If specify the perf data file with -i option, the script will try to read the header information regardless of the file name specified, instead it will try to access the perf.data. This simple patch use the file name from -i option for command perf report --header-only to read the header. Signed-off-by: Tianyou Li <tianyou.li@intel.com> Reviewed-by: Pan Deng <pan.deng@intel.com> Reviewed-by: Zhiguo Zhou <zhiguo.zhou@intel.com> Reviewed-by: Wangyang Guo <wangyang.guo@intel.com> Reviewed-by: Tim Chen <tim.c.chen@linux.intel.com> Link: https://lore.kernel.org/r/20250610040536.2390060-1-tianyou.li@intel.com Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions