Re: [PATCH v1 16/55] powerpc/64s: Implement PMU override command line option

2021-08-11 Thread Madhavan Srinivasan
On 8/6/21 4:08 PM, Nicholas Piggin wrote: Excerpts from Madhavan Srinivasan's message of August 6, 2021 5:33 pm: On 7/26/21 9:19 AM, Nicholas Piggin wrote: It can be useful in simulators (with very constrained environments) to allow some PMCs to run from boot so they can be sampled directly b

Re: [PATCH v1 16/55] powerpc/64s: Implement PMU override command line option

2021-08-11 Thread Athira Rajeev
> On 06-Aug-2021, at 4:12 PM, Nicholas Piggin wrote: > > Excerpts from Athira Rajeev's message of August 6, 2021 7:28 pm: >> >> >>> On 26-Jul-2021, at 9:19 AM, Nicholas Piggin wrote: >>> >>> It can be useful in simulators (with very constrained environments) >>> to allow some PMCs to run f

Re: [PATCH v1 16/55] powerpc/64s: Implement PMU override command line option

2021-08-06 Thread Nicholas Piggin
Excerpts from Athira Rajeev's message of August 6, 2021 7:28 pm: > > >> On 26-Jul-2021, at 9:19 AM, Nicholas Piggin wrote: >> >> It can be useful in simulators (with very constrained environments) >> to allow some PMCs to run from boot so they can be sampled directly >> by a test harness, rathe

Re: [PATCH v1 16/55] powerpc/64s: Implement PMU override command line option

2021-08-06 Thread Nicholas Piggin
Excerpts from Madhavan Srinivasan's message of August 6, 2021 5:33 pm: > > On 7/26/21 9:19 AM, Nicholas Piggin wrote: >> It can be useful in simulators (with very constrained environments) >> to allow some PMCs to run from boot so they can be sampled directly >> by a test harness, rather than havi

Re: [PATCH v1 16/55] powerpc/64s: Implement PMU override command line option

2021-08-06 Thread Athira Rajeev
> On 26-Jul-2021, at 9:19 AM, Nicholas Piggin wrote: > > It can be useful in simulators (with very constrained environments) > to allow some PMCs to run from boot so they can be sampled directly > by a test harness, rather than having to run perf. > > A previous change freezes counters at boo

Re: [PATCH v1 16/55] powerpc/64s: Implement PMU override command line option

2021-08-06 Thread Madhavan Srinivasan
On 7/26/21 9:19 AM, Nicholas Piggin wrote: It can be useful in simulators (with very constrained environments) to allow some PMCs to run from boot so they can be sampled directly by a test harness, rather than having to run perf. A previous change freezes counters at boot by default, so provid

[PATCH v1 16/55] powerpc/64s: Implement PMU override command line option

2021-07-25 Thread Nicholas Piggin
It can be useful in simulators (with very constrained environments) to allow some PMCs to run from boot so they can be sampled directly by a test harness, rather than having to run perf. A previous change freezes counters at boot by default, so provide a boot time option to un-freeze (plus a bit m