Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp3198727rwb; Mon, 16 Jan 2023 05:10:00 -0800 (PST) X-Google-Smtp-Source: AMrXdXvgvKmt0cU6PtD+e3lDSOi3F/ZksoRnPomJ+j3fHlxBMMpWPZIffWX9PWKakvHmF2FvNJxr X-Received: by 2002:a17:907:6d91:b0:871:2051:6377 with SMTP id sb17-20020a1709076d9100b0087120516377mr2939785ejc.60.1673874599933; Mon, 16 Jan 2023 05:09:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673874599; cv=none; d=google.com; s=arc-20160816; b=kTpkVHbRGJT1x3xJNK8CHiyqk/y8DYfXBkOl8RFbLKpZMhhjPsTfzbMTckMKKmOwNm 9s0vyAz/1uDxap+IOw1UW2Fiv5uXHjtIyWuslsOlbeYY09ZVidAALBePI/7Gyo8X8G5k blJJJxr/LK7gJFYyXsYXYzp7Lix3FZT6OrVHD+WyWZmKCv6WIkPexPLj7wEiRzRg+A4Z oPftbBlZn62lQVhb73qkH1CUY6Qlt29PFv6W8rswEmZMd3c8qNoPckwtGzqg1E0A+URv 4kczpZJ+8ubu8qjwTJkKvS3Ig46meGGP3ymUU6nuwSQOhQjpZd0+EcDuXB/PpwE+ucML G9yQ== 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=ScWzcZ8GlnQaw7+uEXztcqpehjbIj8j0N5YRKyPA8bU=; b=Euz1bH6s2hN25vxXohZD3noWqyoGJHmLuep+fWZhKj6D+2+pZuPpUok57vskm1b6ca UqcXaZ4HIHfbo5jlfPdZx7PromgDd0/8QyeV/Jb13gWgoZptgXkIdATg8qe43LIq3eVJ Kn5y0rVvM4p3Y2IqZxYnXM/VmWDfmdje8RCIjFhyOhPsknM6Z9m1lKelcTvBB2TIp0EH y1HepIGBp2HMLSvY4UKgfDIMGoEv7YI6gwltGCKudXb1GHtp59Ieqfs4FtrYDlBlzEZ2 NXMzA3bHSD4/tr8GaaLIV3C+xIOvPQtuvYPARFNynuWUcIioDZyldxRxtwj8MFVKg/oV u48A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WHPVyZdC; 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 y26-20020aa7ccda000000b0049b935e07e4si12111479edt.207.2023.01.16.05.09.47; Mon, 16 Jan 2023 05:09:59 -0800 (PST) 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=WHPVyZdC; 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 S231243AbjAPMuj (ORCPT + 51 others); Mon, 16 Jan 2023 07:50:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39754 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230510AbjAPMtt (ORCPT ); Mon, 16 Jan 2023 07:49:49 -0500 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F1B6D1F487 for ; Mon, 16 Jan 2023 04:49:46 -0800 (PST) Received: by mail-wm1-x332.google.com with SMTP id k22-20020a05600c1c9600b003d1ee3a6289so22062671wms.2 for ; Mon, 16 Jan 2023 04:49:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=references:in-reply-to:message-id:date:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to; bh=ScWzcZ8GlnQaw7+uEXztcqpehjbIj8j0N5YRKyPA8bU=; b=WHPVyZdCVyEzH3IQumz+ZQa93TPXD+IvVnD5r+JQl0+23uLtICALw+QIWV2Yh+OEBC +/Ig9NhloS97/UP2/soGvPQgGbwWyM4iD5vx0OIdXvWmqPF8vW00G6gJeFha7LFz+0zb RfiDzlmmgjZzZdC5eA0NuGwKVeQU0wvwM7wHlISyQEQj+PeXKaKoEVd3tZf66lI15I8A 9L/yh+PaZuuWaPS6R72qonxwrJmNWTPXWz9qvqYs0sx3ueFYZcQ4E8+ISyx7dg2zgso8 yeccJi1N6Mi1C8hXYyyfd/6fAC/8KitdyACjiZeNuhE47g7FHPUh6ERVNbwbQulo3c// 6BfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=references:in-reply-to:message-id:date:subject:cc:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ScWzcZ8GlnQaw7+uEXztcqpehjbIj8j0N5YRKyPA8bU=; b=5MycN3QLFi6c/8cnW2CL2a+zfyOZIrdSzrrCVZUhxW8Et5f2wgFVE4E6tmfZSJqQaM uI7s33dl8Sx83AftSlJ+Dti9UJmoFxaSbcgjkzf+uQ86S3nPmK5mMAl5mNBdxfL1+0cx 8lRBghtYz9wTknyefnElpqzGC/ERgMbiBca5oP6JahByfvNGVjrHhgu4roS2NPXW524C K99z0yX6mEVXILcShRhSSgY2Ks6KQObDDOHGQokPJuLVYHgEqIgNch1NG972pk1k2z2w dJ0t+lQUzMUMbZL4szq5m9AM+Cg5K6xRaulfSt+X+Yu0EF9x9lakkYL201T3gX9/kRX2 tlaw== X-Gm-Message-State: AFqh2kr7DqoPf5EGZTpg5aunYbpHhdeaqVf+7nTR8e0GoI+HOACIwUTu HUy4VfWsMKCksoRo8DIVK4nt2g== X-Received: by 2002:a05:600c:1e10:b0:3da:1d51:ef9d with SMTP id ay16-20020a05600c1e1000b003da1d51ef9dmr12313675wmb.15.1673873386615; Mon, 16 Jan 2023 04:49:46 -0800 (PST) Received: from linaro.org ([2a00:23c5:6809:2201:6c91:710d:9433:e868]) by smtp.gmail.com with ESMTPSA id fl12-20020a05600c0b8c00b003dab40f9eafsm6896832wmb.35.2023.01.16.04.49.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Jan 2023 04:49:46 -0800 (PST) From: Mike Leach To: coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: mathieu.poirier@linaro.org, suzuki.poulose@arm.com, 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 v7 11/15] kernel: events: Export perf_report_aux_output_id() Date: Mon, 16 Jan 2023 12:49:24 +0000 Message-Id: <20230116124928.5440-12-mike.leach@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230116124928.5440-1-mike.leach@linaro.org> References: <20230116124928.5440-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 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 Acked-by: Suzuki K Poulose Acked-by: Peter Zijlstra (Intel) --- kernel/events/core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/events/core.c b/kernel/events/core.c index d56328e5080e..f7036ed53b3f 100644 --- a/kernel/events/core.c +++ b/kernel/events/core.c @@ -9399,6 +9399,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