summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorwangfushuai <wangfushuai@baidu.com>2024-12-04 15:02:47 +0800
committerShuah Khan <skhan@linuxfoundation.org>2024-12-09 17:52:03 -0700
commit46fd8c707b552c0a846917192f66e623bb03f976 (patch)
treebdb98b8d316e94bf21c385ca6ff8211af3a1b2d7 /tools/perf/scripts/python/gecko.py
parent3075476a7af666de3ec10b4f35d8e62db8fd5b6d (diff)
cpupower: revise is_valid flag handling for idle_monitor
The is_valid flag should reflect the validity state of both the XXX_start and XXX_stop functions. But the use of '=' in XXX_stop overwrites the validity state set by XXX_start. This commit changes '=' to '|=' in XXX_stop to preserve and combine the validity state of XXX_start and XXX_stop. Signed-off-by: wangfushuai <wangfushuai@baidu.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions