diff options
author | David Ahern <[email protected]> | 2015-02-18 19:03:18 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-02-25 17:37:44 -0300 |
commit | a73b6c199a663d64a38198f547d5c5be42163193 (patch) | |
tree | eb7880b3e0905850f4ae4db208c8f3f12d0b043d /net/switchdev/switchdev.c | |
parent | 48536c9195ae8c2a00fd8f400bac72ab613feaab (diff) |
perf top: Fix SIGBUS on sparc64
perf-top is terminating due to SIGBUS on sparc64. git bisect points to:
commit 82396986032915c1572bfb74b224fcc2e4e8ba7c
Author: Arnaldo Carvalho de Melo <[email protected]>
Date: Mon Sep 8 13:26:35 2014 -0300
perf evlist: Refcount mmaps
We need to know how many fds are using a perf mmap via
PERF_EVENT_IOC_SET_OUTPUT, so that we can know when to ditch an mmap,
refcount it.
This commit added 'int refcnt' to struct perf_mmap and the addition makes the
event_copy element no longer 8-byte aligned.
Fix by adding __attribute__((aligned(8))) to the event_copy struct
member.
Signed-off-by: David Ahern <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
[ Switched from 'int pad;' to using __attribute__, David tested/acked that ]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions