Re: [PATCH 1/2] tools/perf/tests: perf all metrics test fails when perf_event access is restricted

2023-08-03 Thread Athira Rajeev
--- > test child forked, pid 398458 > Testing branch_misprediction_ratio > Testing all_remote_links_outbound > Metric 'all_remote_links_outbound' not printed in: > Error: > Invalid event (remote_outbound_data_controller_3:u) in per-thread > mode, enable system wide with '-

Re: [PATCH 1/2] tools/perf/tests: perf all metrics test fails when perf_event access is restricted

2023-07-13 Thread Athira Rajeev
> On 05-Jul-2023, at 11:54 PM, Namhyung Kim wrote: > > On Mon, Jul 3, 2023 at 10:04 PM Athira Rajeev > wrote: >> >> >> >>> On 15-Jun-2023, at 1:08 PM, Athira Rajeev >>> wrote: >>> >>> Perf all metrics test fails as below when perf_event access >>> is restricted. >>> >>> ./perf test

Re: [PATCH 1/2] tools/perf/tests: perf all metrics test fails when perf_event access is restricted

2023-07-05 Thread Namhyung Kim
On Mon, Jul 3, 2023 at 10:04 PM Athira Rajeev wrote: > > > > > On 15-Jun-2023, at 1:08 PM, Athira Rajeev > > wrote: > > > > Perf all metrics test fails as below when perf_event access > > is restricted. > > > >./perf test -v "perf all metrics test" > >Metric 'Memory_RD_BW_Chip' not

Re: [PATCH 1/2] tools/perf/tests: perf all metrics test fails when perf_event access is restricted

2023-07-03 Thread Athira Rajeev
> On 15-Jun-2023, at 1:08 PM, Athira Rajeev wrote: > > Perf all metrics test fails as below when perf_event access > is restricted. > >./perf test -v "perf all metrics test" >Metric 'Memory_RD_BW_Chip' not printed in: >Error: >Access to performance monitoring and

[PATCH 1/2] tools/perf/tests: perf all metrics test fails when perf_event access is restricted

2023-06-15 Thread Athira Rajeev
Perf all metrics test fails as below when perf_event access is restricted. ./perf test -v "perf all metrics test" Metric 'Memory_RD_BW_Chip' not printed in: Error: Access to performance monitoring and observability operations is limited. Enforced MAC policy settings (SELinux)