Commit 47f661e
perf: Apply PERF_EVENT_IOC_MODIFY_ATTRIBUTES to children
As with other ioctls (such as PERF_EVENT_IOC_{ENABLE,DISABLE}), fix up
handling of PERF_EVENT_IOC_MODIFY_ATTRIBUTES to also apply to children.
Suggested-by: Dmitry Vyukov <dvyukov@google.com>
Signed-off-by: Marco Elver <elver@google.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Dmitry Vyukov <dvyukov@google.com>
Link: https://lkml.kernel.org/r/20210408103605.1676875-3-elver@google.com1 parent ef54c1a commit 47f661e
1 file changed
+21
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3200 | 3200 | | |
3201 | 3201 | | |
3202 | 3202 | | |
| 3203 | + | |
| 3204 | + | |
| 3205 | + | |
| 3206 | + | |
3203 | 3207 | | |
3204 | 3208 | | |
3205 | 3209 | | |
3206 | 3210 | | |
3207 | 3211 | | |
3208 | | - | |
| 3212 | + | |
| 3213 | + | |
3209 | 3214 | | |
3210 | 3215 | | |
3211 | 3216 | | |
3212 | 3217 | | |
| 3218 | + | |
| 3219 | + | |
| 3220 | + | |
| 3221 | + | |
| 3222 | + | |
| 3223 | + | |
| 3224 | + | |
| 3225 | + | |
| 3226 | + | |
| 3227 | + | |
| 3228 | + | |
| 3229 | + | |
| 3230 | + | |
| 3231 | + | |
| 3232 | + | |
3213 | 3233 | | |
3214 | 3234 | | |
3215 | 3235 | | |
| |||
0 commit comments