aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/perf_event.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/perf_event.h')
-rw-r--r--include/linux/perf_event.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h
index f34dab9b275e..7342979f95f2 100644
--- a/include/linux/perf_event.h
+++ b/include/linux/perf_event.h
@@ -487,6 +487,7 @@ struct perf_guest_info_callbacks {
487#include <linux/cpu.h> 487#include <linux/cpu.h>
488#include <asm/atomic.h> 488#include <asm/atomic.h>
489#include <asm/local.h> 489#include <asm/local.h>
490#include <asm/local64.h>
490 491
491#define PERF_MAX_STACK_DEPTH 255 492#define PERF_MAX_STACK_DEPTH 255
492 493
@@ -536,10 +537,10 @@ struct hw_perf_event {
536 struct arch_hw_breakpoint info; 537 struct arch_hw_breakpoint info;
537#endif 538#endif
538 }; 539 };
539 atomic64_t prev_count; 540 local64_t prev_count;
540 u64 sample_period; 541 u64 sample_period;
541 u64 last_period; 542 u64 last_period;
542 atomic64_t period_left; 543 local64_t period_left;
543 u64 interrupts; 544 u64 interrupts;
544 545
545 u64 freq_time_stamp; 546 u64 freq_time_stamp;
@@ -670,7 +671,7 @@ struct perf_event {
670 671
671 enum perf_event_active_state state; 672 enum perf_event_active_state state;
672 unsigned int attach_state; 673 unsigned int attach_state;
673 atomic64_t count; 674 local64_t count;
674 atomic64_t child_count; 675 atomic64_t child_count;
675 676
676 /* 677 /*