From patchwork Mon Jul 4 08:11:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Leach X-Patchwork-Id: 12904872 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 94D71C43334 for ; Mon, 4 Jul 2022 09:00:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=mc8TYnNa7JlbRahk6ChN4Ny2yQPbLTAcaCEcjuJpEA8=; b=nGcNzGRJGd9OUw usUS97e/hQLD0FsWPUJcABFlYjZxJQ8s0nGQMIOxRJ5awycbmozOkTJqFe6Ea3J0mtmegpo11s8lh 91viEti+uK6Jr+lao1x048t4h9qVdDvUj717+OFoMFRSVwveQZ+uYBIfTo6t0+r4wLzAU8w3KeE7/ g3Q0MiF9dABE4fKaSyY00Q165GnPJXdnhHKoYuRG1pxr9DX7avTzahIbdhEbosz0YuiQHvKsQZAFc 9Zgwc8xh2KgTJs86I/ypEIIsJNl6Tong5hZiQ01hdo8q9CoQ2Y4l/lwqR/68pegm3EMAXsFXRVeky OCxJdXjlIV0iptwZ2/zg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o8Hvb-006E5a-3A; Mon, 04 Jul 2022 08:59:35 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o8HvY-006Dv2-WC for linux-arm-kernel@bombadil.infradead.org; Mon, 04 Jul 2022 08:59:33 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=References:In-Reply-To:Message-Id:Date :Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description; bh=plqraaSJUkeNCDGA4aEvfb+pg8+kvKD5XTON2+h9YBA=; b=DPlGqNasWs4I478VEC0QU2T2gC 8uXcshexpFQhUQlw46FpOfL8osBq6ik+1895LHXMcABU2bhHyckGQE5Ev3Zr/4HXCZEdyCVPk19lf Ibu+LjHQKqz7cmwv4kvbLPcMTyuczQvGwG270H72vj00XcptqRhBuUE4xn3iQGtJgHzssL7EBUb1L ATKvGgHXNwFi+9TCObP7tSPPxlvCd36jg+AaJ/eXzTVJvUbXyZ/2jOfyAPKHe0TBMCAtjse/i1/A1 hzk7k+tkwawNturI9F7YxWjnO6xs/4toPflqsQN8nrv8oAcey/tv/leMY9T5Ukfv8EYyuVjUqo/QC ddKoltFQ==; Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o8HBp-00H2qG-Dy for linux-arm-kernel@lists.infradead.org; Mon, 04 Jul 2022 08:12:34 +0000 Received: by mail-wm1-x335.google.com with SMTP id t17-20020a1c7711000000b003a0434b0af7so5173440wmi.0 for ; Mon, 04 Jul 2022 01:12:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=plqraaSJUkeNCDGA4aEvfb+pg8+kvKD5XTON2+h9YBA=; b=oz12zjWXxiKYvIUnwdtU+1cpeW4xquYSJyHG0bWhwcfdSFfsDSCYoHXHy/Qjx4VSYr e1HSsp3iLxlQcFkWH7+LF6cQbnVq5OXaY7LHK9Mq38WxdbjljKhOlshcZ6D/njgfaBox VtT22S1fk56slCsu6XCkh7X/9D9SlseAHIoDINGoJOciVy/zHWho1/3Umceqv+m9+cbk /eM90nNK03YRXH/JNdhcjJk2uLPehskE5wZOhv6SupGyyTV8xvlrWPAB5CmdUxEzjixm mqNPj5LFBraN09ulIJ3q4MHOhjzJEpCPpwFcl+QkltjicBJfpsn0PAwBlX4n2BRsQNPT rQAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=plqraaSJUkeNCDGA4aEvfb+pg8+kvKD5XTON2+h9YBA=; b=sGqOHAfV16P21ChCGlCT9+jYa1l9DOHwYthfSkDxXbon/J+B4jAO7JXQtmDQ7dwjfO 9b3Az5JFxAO0UUpvZl94G8zXKr+jBq01KXSjIUdxjZZKyfB8q3uv2+DMjcQd7/c6NiQC ldGUbeXJ/wg5N8/SIOtdf5dBrEbDvXQVAzy3b0byo0bAkfcOcHff5/cIuCXhu+yd64/H k3KqZOPcFr8Mclpp/9mwxAozBML7q+AZg7f2ms8EzZH7rb43DQonaygZvogMQ5PE28xU oeNmP3p0YKzj2JDX0UxdwU1jUEp9Zpi697RGoZOVKzABPUf+IXH47c+c9xkJQggXElMk wMkw== X-Gm-Message-State: AJIora+OBxjKjgGnqIaM2WN/59x+xnGhQ6cgDKj/m0HIw9Y6a85uOeLl KucCGmI+hILTxn4WaM/C1AtpYA== X-Google-Smtp-Source: AGRyM1vcBm9hrS+Gdaug34C9Dljbs673NhCTJGPPhK8Fnlnl/szz96TTGBkFZVXyU/g5yAKaKRYb6g== X-Received: by 2002:a05:600c:a08:b0:3a1:9319:ab78 with SMTP id z8-20020a05600c0a0800b003a19319ab78mr13105975wmp.158.1656922321341; Mon, 04 Jul 2022 01:12:01 -0700 (PDT) Received: from linaro.org ([2a00:23c5:6809:2201:c4c4:4ed1:ae43:27f2]) by smtp.gmail.com with ESMTPSA id u3-20020adfdd43000000b0021d650e4df4sm4388276wrm.87.2022.07.04.01.12.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Jul 2022 01:12:00 -0700 (PDT) From: Mike Leach To: suzuki.poulose@arm.com, coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: mathieu.poirier@linaro.org, peterz@infradead.org, mingo@redhat.com, acme@kernel.org, linux-perf-users@vger.kernel.org, leo.yan@linaro.org, quic_jinlmao@quicinc.com, Mike Leach Subject: [PATCH v2 10/13] kernel: events: Export perf_report_aux_output_id() Date: Mon, 4 Jul 2022 09:11:46 +0100 Message-Id: <20220704081149.16797-11-mike.leach@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220704081149.16797-1-mike.leach@linaro.org> References: <20220704081149.16797-1-mike.leach@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220704_091219_948593_21874C3F X-CRM114-Status: GOOD ( 11.58 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org CoreSight trace being updated to use the perf_report_aux_output_id() in a similar way to intel-pt. This function in needs export visibility to allow it to be called from kernel loadable modules, which CoreSight may configured to be built as. Signed-off-by: Mike Leach Acked-by: Suzuki K Poulose --- kernel/events/core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/events/core.c b/kernel/events/core.c index 80782cddb1da..f5835e5833cd 100644 --- a/kernel/events/core.c +++ b/kernel/events/core.c @@ -9117,6 +9117,7 @@ void perf_report_aux_output_id(struct perf_event *event, u64 hw_id) perf_output_end(&handle); } +EXPORT_SYMBOL_GPL(perf_report_aux_output_id); static int __perf_event_account_interrupt(struct perf_event *event, int throttle)