[PATCH 6/8] perf/core: Move perf_event_attr::sample_max_stack into perf_copy_attr

2018-03-12 Thread 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 ---

[PATCH 6/8] perf/core: Move perf_event_attr::sample_max_stack into perf_copy_attr

2018-03-12 Thread 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

[PATCH 6/8] perf/core: Move perf_event_attr::sample_max_stack into perf_copy_attr

2017-11-29 Thread 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. Signed-off-by: Jiri Olsa --- kernel/events/core.c | 6 +++--- 1 file changed, 3

[PATCH 6/8] perf/core: Move perf_event_attr::sample_max_stack into perf_copy_attr

2017-11-29 Thread 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. Signed-off-by: Jiri Olsa --- kernel/events/core.c | 6 +++--- 1 file changed, 3 insertions(+), 3