aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu/perf_event.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/cpu/perf_event.h')
-rw-r--r--arch/x86/kernel/cpu/perf_event.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/perf_event.h b/arch/x86/kernel/cpu/perf_event.h
index 23b5710b174..3df3de9452a 100644
--- a/arch/x86/kernel/cpu/perf_event.h
+++ b/arch/x86/kernel/cpu/perf_event.h
@@ -69,7 +69,7 @@ struct amd_nb {
69}; 69};
70 70
71/* The maximal number of PEBS events: */ 71/* The maximal number of PEBS events: */
72#define MAX_PEBS_EVENTS 4 72#define MAX_PEBS_EVENTS 8
73 73
74/* 74/*
75 * A debug store configuration. 75 * A debug store configuration.
@@ -378,6 +378,7 @@ struct x86_pmu {
378 void (*drain_pebs)(struct pt_regs *regs); 378 void (*drain_pebs)(struct pt_regs *regs);
379 struct event_constraint *pebs_constraints; 379 struct event_constraint *pebs_constraints;
380 void (*pebs_aliases)(struct perf_event *event); 380 void (*pebs_aliases)(struct perf_event *event);
381 int max_pebs_events;
381 382
382 /* 383 /*
383 * Intel LBR 384 * Intel LBR