[PATCH V3 5/5] ARM CoreSight: ETM: Add PID control support

Will Deacon will.deacon at arm.com
Mon Feb 3 05:46:41 EST 2014


On Thu, Jan 30, 2014 at 04:11:10PM +0000, Adrien Vergé wrote:
> In the same manner as for enabling tracing, an entry is created in
> sysfs to set the PID that triggers tracing. This change is effective
> only if CONFIG_PID_IN_CONTEXTIDR is set.
> 
> When using PID namespaces, the virtual PID given by the user is
> converted to the globally unique ID (task_pid_nr) that is present
> in the Context ID register.

Hmm, I wonder whether debugfs would be more suitable for this?

Will



More information about the linux-arm-kernel mailing list