diff options
| author | Stephane Eranian <[email protected]> | 2011-01-04 14:30:01 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2011-01-05 16:52:54 +0000 |
| commit | d030260ad33b482a371f999c7e9db79ef7a2111f (patch) | |
| tree | 1c811786ddde2d9f21a231a20b2e83aa2df3af3c /lib/dynamic_debug.c | |
| parent | perf test: Clarify some error reports in the open syscall test (diff) | |
| download | kernel-d030260ad33b482a371f999c7e9db79ef7a2111f.tar.gz kernel-d030260ad33b482a371f999c7e9db79ef7a2111f.zip | |
perf tools: Fix perf_event.h header usage
This patch fixes the usage of the perf_event.h header file
between command modules and the supporting code in util.
It is necessary to ensure that ALL files use the SAME
perf_event.h header from the kernel source tree.
There were a couple of #include <linux/perf_event.h> mixed
with #include "../../perf_event.h".
This caused issues on some distros because of mismatch
in the layout of struct perf_event_attr. That eventually
led perf stat to segfault.
Cc: David S. Miller <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Robert Richter <[email protected]>
Cc: Stephane Eranian <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Stephane Eranian <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions
