Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751951AbbGMR0O (ORCPT ); Mon, 13 Jul 2015 13:26:14 -0400 Received: from mail-ob0-f180.google.com ([209.85.214.180]:34822 "EHLO mail-ob0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751835AbbGMR0M (ORCPT ); Mon, 13 Jul 2015 13:26:12 -0400 MIME-Version: 1.0 In-Reply-To: <1436258518-9339-1-git-send-email-zhang.chunyan@linaro.org> References: <1436258518-9339-1-git-send-email-zhang.chunyan@linaro.org> Date: Mon, 13 Jul 2015 11:26:11 -0600 Message-ID: Subject: Re: [PATCH 0/5] coresight: Support context-ID tracing when PID namespace is enabled From: Mathieu Poirier To: Chunyan Zhang Cc: Greg KH , Mark Brown , Serge Broslavsky , Lyra Zhang , "linux-arm-kernel@lists.infradead.org" , linux-api@vger.kernel.org, "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1616 Lines: 36 On 7 July 2015 at 02:41, Chunyan Zhang wrote: > 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 > Applied - thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/