Coresight: Add an interface for supporting ETM3/4 Context ID tracing
authorChunyan Zhang <zhang.chunyan@linaro.org>
Fri, 31 Jul 2015 15:37:26 +0000 (09:37 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Aug 2015 20:30:15 +0000 (13:30 -0700)
commit722102274ab1206634d31abe4f438a911a0945d2
treed01e62de326f74e7167ae98ffad435e36c634c72
parentcd196ac3fa5a574f3ddf37b66fbe8c58225c3355
Coresight: Add an interface for supporting ETM3/4 Context ID tracing

If PID namespace is enabled, everytime users configure the Context ID
register to trace the specific process, there needs to be a translation
between the real PID seen from the kernel and VPID seen from the
namespace in which the user's process resides .

This patch just adds the translation interface for ETMs.

Signed-off-by: Chunyan Zhang <zhang.chunyan@linaro.org>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/coresight.h