aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace
diff options
context:
space:
mode:
authorFrederic Weisbecker <[email protected]>2010-05-20 10:34:59 +0200
committerFrederic Weisbecker <[email protected]>2010-05-20 11:21:57 +0200
commit85cb68b27c428d477169f3aa46c72dba103a17bd (patch)
tree78a1f0b444f53d28760ece50ab47f820b0ba7b45 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace
parent49f135ed02828a58b2401f149926c2e3c9cb0116 (diff)
perf: Fix unaligned accesses while fetching trace values
Accessing trace values of an 8 size may end up in a segfault on archs that can't deal with misaligned access, which is the case for sparc 64. This is because PERF_SAMPLE_RAW are aligned to 4 and not to 8. Fix this on the macros that get the values of 8 size. This fixes segfaults on perf tools in sparc 64. Signed-off-by: Frederic Weisbecker <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Steven Rostedt <[email protected]> Cc: Tom Zanussi <[email protected]> Cc: Masami Hiramatsu <[email protected]> Cc: David Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
0 files changed, 0 insertions, 0 deletions