tmp_suning_uos_patched/tools/perf
Rabin Vincent 02a9d03772 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 <imunsie@au1.ibm.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Ming Lei <tom.leiming@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Tom Zanussi <tzanussi@gmail.com>
LKML-Reference: <20101123163106.GA25677@debian>
Signed-off-by: Rabin Vincent <rabin@rab.in>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2010-11-23 16:30:32 -02:00
..
arch
bench
Documentation perf trace: update Documentation with new perf trace variants 2010-11-10 08:19:35 -06:00
scripts perf trace scripting: remove system-wide param from shell scripts 2010-11-10 08:08:20 -06:00
util perf symbols: Remove incorrect open-coded container_of() 2010-11-23 16:30:32 -02:00
.gitignore
builtin-annotate.c
builtin-bench.c
builtin-buildid-cache.c
builtin-buildid-list.c
builtin-diff.c
builtin-help.c
builtin-inject.c
builtin-kmem.c
builtin-kvm.c
builtin-list.c
builtin-lock.c
builtin-probe.c perf probe: Add basic module support 2010-10-21 16:11:44 -02:00
builtin-record.c perf record: Handle restrictive permissions in /proc/{kallsyms,modules} 2010-11-22 14:01:55 -02:00
builtin-report.c
builtin-sched.c
builtin-stat.c
builtin-test.c
builtin-timechart.c
builtin-top.c perf: Fix usages of profile_cpu in builtin-top.c to use cpu_list 2010-11-10 09:16:12 +01:00
builtin-trace.c perf trace: update usage 2010-11-10 08:20:45 -06:00
builtin.h
command-list.txt
CREDITS
design.txt
feature-tests.mak
Makefile Merge branch 'perf/urgent' into perf/core 2010-10-05 09:47:14 +02:00
MANIFEST
perf-archive.sh
perf.c
perf.h perf, MIPS: Support cross compiling of tools/perf for MIPS 2010-10-12 13:34:37 +02:00