aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorJonathan Corbet <[email protected]>2009-08-06 13:35:44 -0600
committerThomas Gleixner <[email protected]>2009-10-14 15:31:10 +0200
commit1a6deaea3584fd7af1cad492b1fe0867060b45db (patch)
tree83e6f420efe2622c76fba4becd74dd9087cccf59 /tools/perf/scripts/python/check-perf-trace.py
parente6fe07a014c7a3466dcd1a387a9ac04d84c2703c (diff)
pm_qos: clean up racy global "name" variable
"name" is a poor name for a file-global variable. It was used in three different functions, with no mutual exclusion. But it's just a tiny, temporary string; let's just move it onto the stack in the functions that need it. Also use snprintf() just in case. Signed-off-by: Jonathan Corbet <[email protected]> LKML-Reference: <[email protected]> Acked-by: Mark Gross <[email protected]> Reviewed-by: Frederic Weisbecker <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions