[PATCH V2] powerpc/perf: Fix task context setting for trace imc
Michael Ellerman
patch-notifications at ellerman.id.au
Tue Feb 15 16:26:40 AEDT 2022
On Wed, 2 Feb 2022 09:48:37 +0530, Athira Rajeev wrote:
> Trace IMC (In-Memory collection counters) in powerpc is
> useful for application level profiling. For trace_imc,
> presently task context (task_ctx_nr) is set to
> perf_hw_context. But perf_hw_context is to be used for
> cpu PMU. So for trace_imc, even though it is per thread
> PMU, it is preferred to use sw_context inorder to be able
> to do application level monitoring. Hence change the
> task_ctx_nr to use perf_sw_context.
>
> [...]
Applied to powerpc/next.
[1/1] powerpc/perf: Fix task context setting for trace imc
https://git.kernel.org/powerpc/c/0198322379c25215b2778482bf1221743a76e2b5
cheers
More information about the Linuxppc-dev
mailing list