Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp6439972rwb; Tue, 9 Aug 2022 15:39:55 -0700 (PDT) X-Google-Smtp-Source: AA6agR6GJ4F+CebFmUD+IEWmU0aaNffh/odOgfeBazrwSV3qyVF6TuCDomYnDuAFlGy/K02UEaxg X-Received: by 2002:a05:6402:298a:b0:43a:76f8:a75c with SMTP id eq10-20020a056402298a00b0043a76f8a75cmr23997503edb.216.1660084795588; Tue, 09 Aug 2022 15:39:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660084795; cv=none; d=google.com; s=arc-20160816; b=VIwv9z84UeSCETunR1CBuB7QXcmM5LEs/wjF0WFuV7tghjB1aXZZS6oG0gEkcoPAeJ PlBLGoaaQNn5zK3RQM/F4jJBR4LFDpz16dQQYwE2YhH36kPk9QOfaCMettxQfGU0gSr6 Uo9Vc1GG+AnAKhjbWoiaUTlP3CaWy/nWz6LVNnXdRZ0TSWyVwPRgJG3lkbCCdPTjoAot pafF+MdU+WNlmhBPgCaS/uzr6E9ZUf8FehAeTG1Ledb2DruKia6REqbrxy5HdPMPR+cy CZhDQFTb32Y9G3fnYxoLaOOhNvd6QLWE114GJyeSghSOe9RKumKK4YNST1k7KDrDUqid I0qA== 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=aQd1+sXptG+dXZkMCM1QB94Fz8Pu2kkVLyqLPUwsHlw=; b=l40Lo6W0WeQbvhNYzcK9expI6fR2tgiU3TjLee5LmLD37xa1sUbNo/2iQyNAlLbzgH PxACplsZCmeza/9sL5OIs0SEU0sRtvauhaBTkEhQngn3qAlIVR27uGmYTsaN+7Xd+MmZ Y7s2zD0Z+MnjKZeaHSvvRxnJ9v1usrui8lv9OY/MLtZVWw01yw9cKElFvHoAnGU6X0HJ hBiFxakJl7DFOdATwTCfcJAOFpNv+RU3tLdTuOOYMkrM3vxPQ6dLOW1L9zHIU822iSp4 5DxIi3vBGpWhV470rFc2IKdRe0GiggH973UlPpTBj6/p0ac1vJylKgvN4TWq9ijgpl0/ 86Ig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KfyPZURW; 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 f2-20020a170906560200b0072f3efb9687si2735564ejq.242.2022.08.09.15.39.25; Tue, 09 Aug 2022 15:39:55 -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=KfyPZURW; 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 S229620AbiHIWfB (ORCPT + 99 others); Tue, 9 Aug 2022 18:35:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230149AbiHIWeZ (ORCPT ); Tue, 9 Aug 2022 18:34:25 -0400 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D1B165817 for ; Tue, 9 Aug 2022 15:34:16 -0700 (PDT) Received: by mail-wr1-x429.google.com with SMTP id bv3so15801304wrb.5 for ; Tue, 09 Aug 2022 15:34:16 -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=aQd1+sXptG+dXZkMCM1QB94Fz8Pu2kkVLyqLPUwsHlw=; b=KfyPZURWlklvfmYT3VEFPFFamPr8Uj2ht16c+zF2xnXiTDOiSrgmcoN4rGRx9kmLdA txDPiUbXSloZIWzcwh46XiAhQtaahH18D3reai0ISdHNrLBmUPzrGIZmIbT8rIGyaCbj dP41MCi93zKmFloo0SK1KIt/GOttlc6WlTtOdDFQiFqJcehoFqRpAEYADdIii0rKB6U6 FHHjQDlU8h9IM4lx05PQD7EUj0x4fwMWXkbMl/bkdNMSve8WAGgzM5xs7Nln5l3jAjXi dNiU8Vxm1CLCWcZSrt0HIXDYlTE9ox/QYUJMC5ItCcdWaqrGGYAPrmrTIYmNPppnTHia hRiw== 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=aQd1+sXptG+dXZkMCM1QB94Fz8Pu2kkVLyqLPUwsHlw=; b=0ldC+eKR7vSnHiu7mdv4EgcoHThIOs1+eyIGZQaHHVmgw/TlZ9NUMde87aP3lVt1eo q3uadn7RA/eywu5FoL6n+0afRyoVUBb4wb9tyBKdWYFhsKuJYr/OWPXikhooLZaZu7MH uM6GsknIU/7/pH8n4sQ4EhFPgDVZWl6gazvxN6BzONOLOnMfQY87mgYSgzbtvktUY8By 3JGkfFG+XmEkgCOfJV5A4VyTImnm9MSTm+5eeNpyAVp2/lymVYLV3WHYL19GtJRKghTn xVcOyC3V1Lly03NmcXLEF7azL8nZGsMJXqORMCHSpIZzLFuAMSpviTqA5UYj47gZPB73 RPIQ== X-Gm-Message-State: ACgBeo3eeUurwi535BUsy1mdGtO4naS1U248vFNzYT58i76X3yoJbpx4 87JmsXzP4VlVb23KOGjeRJWIXA== X-Received: by 2002:a05:6000:1102:b0:220:5c10:5cbe with SMTP id z2-20020a056000110200b002205c105cbemr16129284wrw.359.1660084456145; Tue, 09 Aug 2022 15:34:16 -0700 (PDT) Received: from linaro.org ([2a00:23c5:6809:2201:a6:74a6:5a0e:f3e2]) by smtp.gmail.com with ESMTPSA id e20-20020a05600c4b9400b003a2cf1ba9e2sm311650wmp.6.2022.08.09.15.34.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Aug 2022 15:34:15 -0700 (PDT) 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 v3 10/13] kernel: events: Export perf_report_aux_output_id() Date: Tue, 9 Aug 2022 23:33:58 +0100 Message-Id: <20220809223401.24599-11-mike.leach@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220809223401.24599-1-mike.leach@linaro.org> References: <20220809223401.24599-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 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) -- 2.17.1