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:
Greg Kroah-Hartman
2021-06-10 21:36:36 +02:00
parent 5e002cfc49
commit 6fcf87747e
2 changed files with 20 additions and 27 deletions

View File

@@ -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;