[PATCH 0/5] coresight: Support context-ID tracing when PID namespace is enabled

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The Coresight ETM drivers already support context-ID tracing, but it won't
work when PID namespace is enabled. This is because when using PID
namespace a process id (ie. VPID) seen from the current namespace differs
from the id (ie. PID) seen by kernel.

This patch-set does add a translation between VPID and PID.

Chunyan Zhang (5):
  coresight-etm3x: Change the name of the ctxid_val to ctxid_pid
  coresight-etm4x: Change the name of the ctxid_val to ctxid_pid
  Coresight: Add an interface for supporting ETM3/4 Context ID tracing
  coresight-etm3x: Support context-ID tracing when PID namespace is
    enabled
  coresight-etm4x: Support context-ID tracing when PID namespace is
    enabled

 .../ABI/testing/sysfs-bus-coresight-devices-etm3x  |  2 +-
 .../ABI/testing/sysfs-bus-coresight-devices-etm4x  |  2 +-
 drivers/hwtracing/coresight/coresight-etm.h        |  7 ++--
 drivers/hwtracing/coresight/coresight-etm3x.c      | 28 +++++++++-------
 drivers/hwtracing/coresight/coresight-etm4x.c      | 37 ++++++++++++++--------
 drivers/hwtracing/coresight/coresight-etm4x.h      |  7 ++--
 include/linux/coresight.h                          | 20 ++++++++++++
 7 files changed, 72 insertions(+), 31 deletions(-)

-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-api" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux