diff options
| author | wangxiaodong <wangxiaodong827546786@gmail.com> | 2026-06-21 10:25:03 +0800 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-07-15 17:46:41 +0200 |
| commit | dd242ab6a557900fd45fc43c753dac2e032d5429 (patch) | |
| tree | 27ee613fdea19980b6b45615852b5d4974776280 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 3ff72cac7321053c1fcb76301c55a802a8a6581b (diff) | |
Documentation: admin-guide: cpufreq: fix sampling_rate example command
The example shell command for setting ondemand's sampling_rate wraps an
arithmetic expansion $((...)) in command-substitution backticks. The
arithmetic result is then executed as a command, which fails and writes
an empty value. Drop the surrounding backticks so the computed value is
passed to echo as intended.
Fixes: e54ac586674d ("cpufreq: editing corrections to cpufreq.rst")
Signed-off-by: wangxiaodong <wangxiaodong827546786@gmail.com>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Reviewed-by: Zhongqiu Han <zhongqiu.han@oss.qualcomm.com>
[ rjw: Subject tweak ]
Link: https://patch.msgid.link/20260621022515.10137-1-wangxiaodong827546786@gmail.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
