aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/perf_event.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h
index cdbc2aa64a0b..c6f812e4d058 100644
--- a/include/linux/perf_event.h
+++ b/include/linux/perf_event.h
@@ -565,6 +565,10 @@ typedef void (*perf_overflow_handler_t)(struct perf_event *, int,
565 struct perf_sample_data *, 565 struct perf_sample_data *,
566 struct pt_regs *regs); 566 struct pt_regs *regs);
567 567
568enum perf_group_flag {
569 PERF_GROUP_SOFTWARE = 0x1,
570};
571
568/** 572/**
569 * struct perf_event - performance event kernel representation: 573 * struct perf_event - performance event kernel representation:
570 */ 574 */
@@ -574,6 +578,7 @@ struct perf_event {
574 struct list_head event_entry; 578 struct list_head event_entry;
575 struct list_head sibling_list; 579 struct list_head sibling_list;
576 int nr_siblings; 580 int nr_siblings;
581 int group_flags;
577 struct perf_event *group_leader; 582 struct perf_event *group_leader;
578 struct perf_event *output; 583 struct perf_event *output;
579 const struct pmu *pmu; 584 const struct pmu *pmu;