Received: by 2002:ac0:de83:0:0:0:0:0 with SMTP id b3csp1380700imk; Mon, 4 Jul 2022 01:45:10 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tyaVLuhGXElyn6ExUTDDSFIJyjyPnRbwgk03cHKUldAMe/q6hFAQlvYHON2/s/HUe8i67b X-Received: by 2002:a05:6402:4518:b0:43a:3b90:7457 with SMTP id ez24-20020a056402451800b0043a3b907457mr7849748edb.422.1656924309984; Mon, 04 Jul 2022 01:45:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656924309; cv=none; d=google.com; s=arc-20160816; b=cWXIT3kH8S4y0KDHptstUpLsZpm9JtKNUZtXiI91AEnzmaEgPM9skAV1pBC4wzxpnv wt4Ja7G0L/XKIT6640t9EhTEmoKr3SCbclCyO/JpSIYO+jpLiSxF6joobrgSoomSooXU AWtn1SzkFQF6eOz3l+AyCYgQFUojvbyz1UvOcV8+3gfx/AJIiNzj/Oi1GMFCFRQCrCoX zObafxMJVrZPM1UXX+8hgalRFLgD9fp3q+e8fCnysD5V3DJ8tUEMCXA3pPZEQTQYGrUi W6upJq/dvSNG2/kkVdsqWYuwEWsdbYCSnb+qarSiWxAYfTAhVsYkNqPwVpZ4aG1po3PD KkoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=plqraaSJUkeNCDGA4aEvfb+pg8+kvKD5XTON2+h9YBA=; b=GREXOf6UhBR3KX2MmA+OCoiZhWHGbBIEsXHDGxsW+0p4mkC5nApfwraiYhSYO7mpxN bYAQOzcu6w2O9d8xq1j+HiJl/RN1/noJtstqKbTTrf2nsqcI6TwHoiwp2Nvfc4CpZKpj SUroU9uY9wagB2nOzd644eMChLDykJ8b0J/+m3YcgMucdaVBjl25p5OVPEj3MouMb0NU 8o33A0Yki7WpIBUimfAZ4bwvuwGhc2hk+JiUm+5s3EQD9U/ARq3Vugm2YdU40jn9IzCt fd4aZw7BV++If73cNb8bNS1LLvosZGODerstnWHUWAex6AV2S/KhUnOTTnRjr/RdNszN a69g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oz12zjWX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id eb13-20020a0564020d0d00b0043587e6b472si9049365edb.132.2022.07.04.01.44.45; Mon, 04 Jul 2022 01:45:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oz12zjWX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233445AbiGDIMf (ORCPT + 99 others); Mon, 4 Jul 2022 04:12:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52674 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233367AbiGDIME (ORCPT ); Mon, 4 Jul 2022 04:12:04 -0400 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B7051B482 for ; Mon, 4 Jul 2022 01:12:02 -0700 (PDT) Received: by mail-wm1-x330.google.com with SMTP id r81-20020a1c4454000000b003a0297a61ddso7455880wma.2 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=yBto/eDPAj5lDuAgVW3CVl3uDqcPvHtuWx9Wt4w0o755sfPsdFwhtk7NU8Fgnsd2o2 njRaFuv6O0VcPYbsDDb5MGLh1dVDjsiaUEYc80miXozYkqWiyHJqu98YFXFV1tknK4nd r6/kcm1z1LVkrCGYb1gjtZSx4ItEg8nTOmLmufOlu9F1ZsKMubJRZtZZ+rRf+DZiCBWA rZFsD0oGXN/rbStlnuFwFvtoTtpncvYZlu/x4jyUoYcDABmKcwSAj+6Dk//cyt4TjiYm 8PU5gWBiOxnpGoc+AugBtWJAXkZSYP5RalG6a0aYj4u/z1HMwDngEmmoANFpDETxIDC+ Y5Sg== X-Gm-Message-State: AJIora/THWzTmqgoWOxDq9RVmmSuRiZ5bH96L44VdP3neXnNa48Ni7ai /ntPxgGaI5X0MrmY198ULNTYjg== 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-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 --- 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) -- 2.17.1