summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorYousef Alhouseen <alhouseenyousef@gmail.com>2026-06-24 14:27:47 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-07-22 17:58:41 +0200
commit87bc1e34986d906129ed387e74fdb13de9c5fa89 (patch)
tree6520ab5b30988d9560773bcb165a48050b054be9 /tools/perf/scripts/python/stackcollapse.py
parent1590cf0329716306e948a8fc29f1d3ee87d3989f (diff)
tools/power: intel_pstate_tracer: avoid optional imports for help
intel_pstate_tracer imports Gnuplot and numpy before parsing command-line options. As a result, even "-h" fails if those optional runtime modules are not installed. Move the imports to the paths that need them. This lets the help and invalid-argument paths describe usage without requiring plotting/data dependencies. While there, fix a typo in the help text and matching comments. Signed-off-by: Yousef Alhouseen <alhouseenyousef@gmail.com> Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Link: https://patch.msgid.link/20260624122747.5418-1-alhouseenyousef@gmail.com Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions