From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D6102C433DB for ; Sat, 13 Feb 2021 11:33:43 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 91C5F64E44 for ; Sat, 13 Feb 2021 11:33:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 91C5F64E44 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=vk1xTgNsmY6LAOEBI8/talhYjgdE/EyeChhBvYR3dUs=; b=php5dr5tkDPb7UAc9vyiXuCZBd pb4EH8uvSwCOAKpBDKKkmWasUxSnc8l2mmIF8T/yQyFcBwjQuByUZSy1p39C0rfak3r4rl9MZQohV rHHDle06rqKhON5588rpLzwk0EKvVZGvemUIJFVt1wJnxu9wXMreueVZ9sjdBNWsoYsB5NtyjFYC3 5CjCLMlA1A1U2ouMnZ8v4lqPnrsTjuf45hhGXnFTjQJSCFWFHmm1evejx2TLSgOdzf/98LubLoFWE HZUZHq7NfOSW7vdtJnhQ3WpTbX5ygo7hod016GyVsgMsUo3cGulkp6J1VP5v7nHRVpYcK2UmmJkSy dYDU0Hcw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1lAtAC-0008B7-02; Sat, 13 Feb 2021 11:32:36 +0000 Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1lAtA8-0008AD-HG for linux-arm-kernel@lists.infradead.org; Sat, 13 Feb 2021 11:32:34 +0000 Received: by mail-pf1-x435.google.com with SMTP id z6so1242032pfq.0 for ; Sat, 13 Feb 2021 03:32:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=W2CQVz20vN5F7fQcfxaSQ2VjkuwMeYspcqmbmEfvZR8=; b=UTYXjdDqeb5mNjNNjhHuYOdIaSyLxw+j46OAeZs/Gv+zAQ8C/pUL5W8o9+1aajXZPW V994DZN4eBHGgJDbuiCpJ5mJg6HiP1L0vIY/a5pH/wTshf0XFMQm+NmXBYg2T/6iLuvU W4LCD+4csQbpVdx7VLVAxHW4KVCCLdS28B0quzHb3/TnWTE5JfXhyzNpNYzVsrwMWHAx CZwe5q0beK2KaRez69zKT4X9yJuVKIF83bP1Fe0xeDuNCvVduHUl2EJOKxC8Tly/vVvK cHU2nLO6Z+O8E0A2aa/d1LgR0EmeA2z67OFIVUAkjcdziz227mj0JdZuGkh9cUTiaix0 xAag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=W2CQVz20vN5F7fQcfxaSQ2VjkuwMeYspcqmbmEfvZR8=; b=mxFrldiyhE8j29FkjBgzDTnISEA3mCyTG5jouq8Is6bNnilw6s20q3rfAKRjwV9jSY kLWD/C5ZeSp3ruxuHwmh+VzjTIWuCOZLKOHJfHDLqMdKqtthldsDw/dpS0Dk2z3kyXxA RlNKe4OFqd6A86gqlyHu8eRGlHiSs0AtS4VcJOGiPWz/SBpIt59BwFGfpSU00fdD+puO pLbrbiPiQ++DBOHPfo4/ejtcQNrtfM8kOoa3PGC6x/yHEvCksp9ONQpABJr1pYk/Gbi6 5pWOIyCD7SEh5SLyCPcGLN5LZise39kSrc7RbJXYJauAqK0V1PMChGAoWSPPGFFatcLM SJbQ== X-Gm-Message-State: AOAM533H7DAMhLFJbWkhQRAlgzc0+zMqljjITuHdIYoCTXX5Ujdm8ymu UILK9TzivCC8rK96OanQb1A1vw== X-Google-Smtp-Source: ABdhPJyfPFOnv/XqyxL0uGHTirdaJq5eQXmTOzFczogtqRBIVqM2soJfgql1fe28iR0Q26/5xZctnw== X-Received: by 2002:aa7:9197:0:b029:1d5:bc1b:ee79 with SMTP id x23-20020aa791970000b02901d5bc1bee79mr7183060pfa.38.1613215949880; Sat, 13 Feb 2021 03:32:29 -0800 (PST) Received: from localhost ([45.137.216.202]) by smtp.gmail.com with ESMTPSA id d5sm11540003pgd.86.2021.02.13.03.32.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Feb 2021 03:32:29 -0800 (PST) From: Leo Yan To: Arnaldo Carvalho de Melo , Mathieu Poirier , Suzuki K Poulose , Mike Leach , John Garry , Will Deacon , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , linux-kernel@vger.kernel.org, coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v4 0/5] perf cs-etm: Fix pid tracing with VHE Date: Sat, 13 Feb 2021 19:32:15 +0800 Message-Id: <20210213113220.292229-1-leo.yan@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210213_063232_900391_B7A25525 X-CRM114-Status: GOOD ( 14.52 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Leo Yan Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This patch set is to follow up the patch series "coresight: etm-perf: Fix pid tracing with VHE" [1]. Since the kernel and documentation patches have been picked up by Mathieu Poirier and will go through the char-misc-next branch [2] to the mainline kernel; the rest patches are for the perf tool, so combine these patches into this patch set. The patch set can be cleanly applied on perf/core branch with: commit 6db59d357e8e ("perf arm64/s390: Fix printf conversion specifier for IP addresses") And this patch set has been verified on Arm Juno-r2 board. Changes from v3: * Added Reviewed-by tags (Mathieu/Mike/Suzuki); * Changed to use the existed macros for option bits in patch 02/05 (Mathieu). [1] https://lore.kernel.org/patchwork/cover/1376776/ [2] https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git/log/?h=char-misc-next Leo Yan (2): tools headers UAPI: Update tools' copy of linux/coresight-pmu.h perf cs-etm: Add helper cs_etm__get_pid_fmt() Suzuki K Poulose (3): perf cs-etm: Fix bitmap for option perf cs-etm: Support PID tracing in config perf cs-etm: Detect pid in VMID for kernel running at EL2 tools/include/linux/coresight-pmu.h | 20 ++++-- tools/perf/arch/arm/util/cs-etm.c | 69 ++++++++++++++----- .../perf/util/cs-etm-decoder/cs-etm-decoder.c | 38 ++++++++-- tools/perf/util/cs-etm.c | 42 +++++++++++ tools/perf/util/cs-etm.h | 1 + 5 files changed, 145 insertions(+), 25 deletions(-) -- 2.25.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel