linux-api.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] coresight: Support context-ID tracing when PID namespace is enabled
@ 2015-07-07  8:41 Chunyan Zhang
       [not found] ` <1436258518-9339-1-git-send-email-zhang.chunyan-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
  0 siblings, 1 reply; 11+ messages in thread
From: Chunyan Zhang @ 2015-07-07  8:41 UTC (permalink / raw)
  To: mathieu.poirier-QSEj5FYQhm4dnm+yROfE0A,
	gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r
  Cc: broonie-DgEjT+Ai2ygdnm+yROfE0A,
	serge.broslavsky-QSEj5FYQhm4dnm+yROfE0A,
	zhang.lyra-Re5JQEeQqe8AvxtiuMwx3w,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-api-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2015-08-27 15:54 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-07  8:41 [PATCH 0/5] coresight: Support context-ID tracing when PID namespace is enabled Chunyan Zhang
     [not found] ` <1436258518-9339-1-git-send-email-zhang.chunyan-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2015-07-07  8:41   ` [PATCH 1/5] coresight-etm3x: Change the name of the ctxid_val to ctxid_pid Chunyan Zhang
2015-07-07  8:41   ` [PATCH 2/5] coresight-etm4x: " Chunyan Zhang
     [not found]     ` <1436258518-9339-3-git-send-email-zhang.chunyan-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2015-08-26 17:57       ` Christopher Covington
2015-08-27 15:12         ` Mathieu Poirier
     [not found]           ` <CANLsYkyA_C=PUDEUSbcA_Sa6Abqnxk1TP9ye6F9i0bWW_OxqiA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-08-27 15:33             ` Christopher Covington
2015-08-27 15:54               ` Mathieu Poirier
2015-07-07  8:41   ` [PATCH 3/5] Coresight: Add an interface for supporting ETM3/4 Context ID tracing Chunyan Zhang
2015-07-07  8:41   ` [PATCH 4/5] coresight-etm3x: Support context-ID tracing when PID namespace is enabled Chunyan Zhang
2015-07-07  8:41   ` [PATCH 5/5] coresight-etm4x: " Chunyan Zhang
2015-07-13 17:26   ` [PATCH 0/5] coresight: " Mathieu Poirier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).