aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorJiri Slaby <[email protected]>2012-03-05 14:51:58 +0100
committerGreg Kroah-Hartman <[email protected]>2012-03-08 11:42:21 -0800
commitee024d494ab75426bc77e0c053700915f0a1a16d (patch)
treef679d17f39f8dc46836bdc72a6d74703943e121f /tools/perf/scripts/python/bin/stackcollapse-record
parent5e88e6c4e8b044a1d275f1a599128b95046d2968 (diff)
ALPHA: srmcons, fix racy singleton structure
The test and the assignment were racy. Make it really a singleton. This is achieved by one global variable initialized at the module init. Signed-off-by: Jiri Slaby <[email protected]> Cc: Richard Henderson <[email protected]> Cc: Ivan Kokshaysky <[email protected]> Cc: Matt Turner <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions