Re: [PATCH] [perf/core: Update sample_flags for raw_data in perf_output_sample

2022-11-02 Thread Athira Rajeev
> On 20-Oct-2022, at 8:10 PM, Peter Zijlstra wrote: > > On Thu, Oct 20, 2022 at 12:36:56PM +0530, Athira Rajeev wrote: >> commit 838d9bb62d13 ("perf: Use sample_flags for raw_data") >> added check for PERF_SAMPLE_RAW in sample_flags in >> perf_prepare_sample(). But while copying the sample in

Re: [PATCH] [perf/core: Update sample_flags for raw_data in perf_output_sample

2022-10-20 Thread Peter Zijlstra
On Thu, Oct 20, 2022 at 12:36:56PM +0530, Athira Rajeev wrote: > commit 838d9bb62d13 ("perf: Use sample_flags for raw_data") > added check for PERF_SAMPLE_RAW in sample_flags in > perf_prepare_sample(). But while copying the sample in memory, > the check for sample_flags is not added in perf_output

[PATCH] [perf/core: Update sample_flags for raw_data in perf_output_sample

2022-10-20 Thread Athira Rajeev
commit 838d9bb62d13 ("perf: Use sample_flags for raw_data") added check for PERF_SAMPLE_RAW in sample_flags in perf_prepare_sample(). But while copying the sample in memory, the check for sample_flags is not added in perf_output_sample(). Fix adds the same in perf_output_sample as well. Fixes: 838

[PATCH] [perf/core: Update sample_flags for raw_data in perf_output_sample

2022-10-20 Thread Athira Rajeev
commit 838d9bb62d13 ("perf: Use sample_flags for raw_data") added check for PERF_SAMPLE_RAW in sample_flags in perf_prepare_sample(). But while copying the sample in memory, the check for sample_flags is not added in perf_output_sample(). Fix adds the same in perf_output_sample as well. Fixes: 838