diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/perf_event.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h index 2ebfc9ae4755..97965fac55fe 100644 --- a/include/linux/perf_event.h +++ b/include/linux/perf_event.h | |||
| @@ -536,6 +536,12 @@ struct hw_perf_event { | |||
| 536 | struct { /* breakpoint */ | 536 | struct { /* breakpoint */ |
| 537 | struct arch_hw_breakpoint info; | 537 | struct arch_hw_breakpoint info; |
| 538 | struct list_head bp_list; | 538 | struct list_head bp_list; |
| 539 | /* | ||
| 540 | * Crufty hack to avoid the chicken and egg | ||
| 541 | * problem hw_breakpoint has with context | ||
| 542 | * creation and event initalization. | ||
| 543 | */ | ||
| 544 | struct task_struct *bp_target; | ||
| 539 | }; | 545 | }; |
| 540 | #endif | 546 | #endif |
| 541 | }; | 547 | }; |
| @@ -693,6 +699,7 @@ struct swevent_hlist { | |||
| 693 | 699 | ||
| 694 | #define PERF_ATTACH_CONTEXT 0x01 | 700 | #define PERF_ATTACH_CONTEXT 0x01 |
| 695 | #define PERF_ATTACH_GROUP 0x02 | 701 | #define PERF_ATTACH_GROUP 0x02 |
| 702 | #define PERF_ATTACH_TASK 0x04 | ||
| 696 | 703 | ||
| 697 | /** | 704 | /** |
| 698 | * struct perf_event - performance event kernel representation: | 705 | * struct perf_event - performance event kernel representation: |
