aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorRabin Vincent <[email protected]>2010-11-23 16:38:18 +0000
committerArnaldo Carvalho de Melo <[email protected]>2010-11-23 18:30:32 +0000
commit02a9d03772aa1ff33a26180a2da0bfb191240eda (patch)
tree99d0c8789c22f32e8aad42824b00c5fdd2af5269 /tools/perf/scripts/python/check-perf-trace.py
parentperf record: Handle restrictive permissions in /proc/{kallsyms,modules} (diff)
downloadkernel-02a9d03772aa1ff33a26180a2da0bfb191240eda.tar.gz
kernel-02a9d03772aa1ff33a26180a2da0bfb191240eda.zip
perf symbols: Remove incorrect open-coded container_of()
At least on ARM, padding is inserted between rb_node and sym in struct symbol_name_rb_node, causing "((void *)sym) - sizeof(struct rb_node)" to point inside rb_node rather than to the symbol_name_rb_node. Fix this by converting the code to use container_of(). Cc: Ian Munsie <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Ming Lei <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Tom Zanussi <[email protected]> LKML-Reference: <20101123163106.GA25677@debian> Signed-off-by: Rabin Vincent <[email protected]> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions