This patch adds defination for __NR_perf_event_open if not present for arm platforms.
Signed-off-by: Amit Daniel Kachhap <[email protected]> --- perf/perf_event.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/perf/perf_event.h b/perf/perf_event.h index 563ffc7..eac4a73 100644 --- a/perf/perf_event.h +++ b/perf/perf_event.h @@ -51,6 +51,9 @@ #if __x86_64__ #define __NR_perf_event_open 298 #endif +#if __arm__ +#define __NR_perf_event_open 364 +#endif #endif -- 1.7.4.1 _______________________________________________ Power mailing list [email protected] https://bughost.org/mailman/listinfo/power
