linux/tools/power/x86
Yousef Alhouseen 87bc1e3498 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>
2026-07-22 17:58:41 +02:00
..
amd_pstate_tracer tools/power/x86/amd_pstate_tracer: Fix python gnuplot package names 2025-09-23 13:42:20 -05:00
intel_pstate_tracer tools/power: intel_pstate_tracer: avoid optional imports for help 2026-07-22 17:58:41 +02:00
intel-speed-select tools/power/x86/intel-speed-select: Harden daemon pidfile open 2026-06-02 10:39:45 -07:00
turbostat tools/power turbostat: v2026.04.21 2026-04-22 11:31:57 -04:00
x86_energy_perf_policy tools/power x86_energy_perf_policy: Version 2026.04.25 2026-04-25 14:18:45 -04:00