|
@@ -391,14 +391,9 @@ perf_cgroup_match(struct perf_event *event)
|
|
event->cgrp->css.cgroup);
|
|
event->cgrp->css.cgroup);
|
|
}
|
|
}
|
|
|
|
|
|
-static inline void perf_put_cgroup(struct perf_event *event)
|
|
|
|
-{
|
|
|
|
- css_put(&event->cgrp->css);
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
static inline void perf_detach_cgroup(struct perf_event *event)
|
|
static inline void perf_detach_cgroup(struct perf_event *event)
|
|
{
|
|
{
|
|
- perf_put_cgroup(event);
|
|
|
|
|
|
+ css_put(&event->cgrp->css);
|
|
event->cgrp = NULL;
|
|
event->cgrp = NULL;
|
|
}
|
|
}
|
|
|
|
|