Moving sample_max_stack check and setup into perf_copy_attr,
so we have all perf_event_attr initial setup in one place
and can easily compare attrs in the new ioctl introduced
in following change.
Suggested-by: Peter Zijlstra
Signed-off-by: Jiri Olsa
---
Moving sample_max_stack check and setup into perf_copy_attr,
so we have all perf_event_attr initial setup in one place
and can easily compare attrs in the new ioctl introduced
in following change.
Suggested-by: Peter Zijlstra
Signed-off-by: Jiri Olsa
---
kernel/events/core.c | 6 +++---
1 file
Moving sample_max_stack check and setup into perf_copy_attr,
so we have all perf_event_attr initial setup in one place
and can easily compare attrs in the new ioctl introduced
in following change.
Signed-off-by: Jiri Olsa
---
kernel/events/core.c | 6 +++---
1 file changed, 3
Moving sample_max_stack check and setup into perf_copy_attr,
so we have all perf_event_attr initial setup in one place
and can easily compare attrs in the new ioctl introduced
in following change.
Signed-off-by: Jiri Olsa
---
kernel/events/core.c | 6 +++---
1 file changed, 3 insertions(+), 3
4 matches
Mail list logo