perf counters: expand use of counter->event
Impact: change syscall, cleanup Make use of the new perf_counters event type. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
eab656ae04
commit
dfa7c899b4
3 changed files with 17 additions and 19 deletions
|
|
@ -96,8 +96,7 @@ struct perf_counter {
|
|||
#else
|
||||
atomic_t count32[2];
|
||||
#endif
|
||||
u64 __irq_period;
|
||||
|
||||
struct perf_counter_event event;
|
||||
struct hw_perf_counter hw;
|
||||
|
||||
struct perf_counter_context *ctx;
|
||||
|
|
@ -111,7 +110,6 @@ struct perf_counter {
|
|||
int oncpu;
|
||||
int cpu;
|
||||
|
||||
s32 hw_event_type;
|
||||
enum perf_record_type record_type;
|
||||
|
||||
/* read() / irq related data */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue