Revert "perf/cgroups: Don't rotate events for cgroups unnecessarily"
This reverts commit 0b4c9255a1 as it
breaks the abi.
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I3a4cbfa1cfbef15a6aaabf759dc2bbfaa8f2b47a
This commit is contained in:
@@ -761,11 +761,6 @@ struct perf_event_context {
|
||||
int nr_stat;
|
||||
int nr_freq;
|
||||
int rotate_disable;
|
||||
/*
|
||||
* Set when nr_events != nr_active, except tolerant to events not
|
||||
* necessary to be active due to scheduling constraints, such as cgroups.
|
||||
*/
|
||||
int rotate_necessary;
|
||||
atomic_t refcount;
|
||||
struct task_struct *task;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user