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=-12.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 E4371C5519F for ; Fri, 20 Nov 2020 12:16:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 63870221FC for ; Fri, 20 Nov 2020 12:16:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="U+Ag/6xG" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727983AbgKTMQD (ORCPT ); Fri, 20 Nov 2020 07:16:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39650 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727917AbgKTMQD (ORCPT ); Fri, 20 Nov 2020 07:16:03 -0500 Received: from mail-lf1-x141.google.com (mail-lf1-x141.google.com [IPv6:2a00:1450:4864:20::141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A4E7DC0613CF for ; Fri, 20 Nov 2020 04:16:02 -0800 (PST) Received: by mail-lf1-x141.google.com with SMTP id r9so13143938lfn.11 for ; Fri, 20 Nov 2020 04:16:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=MVSaOkF3AomvYRttVt5pT5G0ZpChiXWS9V8yrqr9bO4=; b=U+Ag/6xGozQSd+HaCLrD0hEWIdBg6mA2vBFEougKY9KNMaThva+1LwdWfiNkZwlHNh cfK3oxd7cE54uC+TYTfZwY1jH83PxOO5EOQp6k8ppLJFSRjFU3sgv/3cMhwPbiXBRRs1 52WimeDmht3hFYSe6blyahsBklPiH5sbjWrnxW8ey+x40VCi805l97LBAy7p9JRg2HIW rr1j4Va8cq2vvYHvH0g+SopkAJiW+8NkJGfgbi9VZevMU7YvWgQHgtxiYRk5oxZA6QaP G5EtGykkSATFIqgF8OhhDs0P6Juwj7yq1otoVNTYfNHx/BfYLOK60c0pTFCG6z+5WuWy 747w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=MVSaOkF3AomvYRttVt5pT5G0ZpChiXWS9V8yrqr9bO4=; b=Tks+YTtUwgn2M+7tj5l3Qe3zk9B3xYzqvDxcqLULn3OFRpi8VlcvixhleP9bkEQXov GQ0fvJvyL28UPkryeJRQmxDB2Uv41amIc8Wp2HhY7Qd5faDznVAGFlckh9nCY5/qNemq xRAw+w5uRLcS2BXlcc8EwBoyzRU17kMWiCY6t4adC0iBoJZ1s4qNJdMx/53Jmz1D8O0e QKtaIwpednlR7oke1ohHeTPBbQNyqnKuinzd5V7EC6yLrwg9Xj7OeUuWsk8B12RGV/pX u5qQY6CtPPrgVM1yhUwbecsowdo+byu6xN+8A97HgyyTVApmV4oXvW4kqUZCM4jI+1/V C1bQ== X-Gm-Message-State: AOAM530D+hzbjkDGfg3ejbzzqrD0MsqAwtzN5+41HlVOwzRdGrjA9jvm PFUqADYmDoVXaSGmjKPFi4t1RDah6HmpVxN4HR/+nMaz9cHcNg== X-Google-Smtp-Source: ABdhPJxHhDispxKgVq6UB2k87k0Hbs8a1DiHLZ6sjyEAyXB3TVnLWRnnuT4B/xUmAR/+M6hO/EUXkqfYDjDP7is5plg= X-Received: by 2002:a05:6512:2151:: with SMTP id s17mr8275696lfr.287.1605874561147; Fri, 20 Nov 2020 04:16:01 -0800 (PST) MIME-Version: 1.0 References: <20201120073909.357536-1-carnil@debian.org> <20201120111948.GA7077@leoy-ThinkPad-X240s> In-Reply-To: <20201120111948.GA7077@leoy-ThinkPad-X240s> From: Andrey Zhizhikin Date: Fri, 20 Nov 2020 13:15:49 +0100 Message-ID: Subject: Re: [PATCH] Revert "perf cs-etm: Move definition of 'traceid_list' global variable from header file" To: Leo Yan Cc: Salvatore Bonaccorso , stable@vger.kernel.org, Alexander Shishkin , Jiri Olsa , Mark Rutland , Namhyung Kim , Peter Zijlstra , Suzuki Poulouse , Tor Jeremiassen , linux-arm-kernel@lists.infradead.org, Arnaldo Carvalho de Melo , Guenter Roeck , Greg Kroah-Hartman Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Fri, Nov 20, 2020 at 12:19 PM Leo Yan wrote: > > On Fri, Nov 20, 2020 at 10:54:22AM +0100, Andrey Zhizhikin wrote: > > On Fri, Nov 20, 2020 at 8:39 AM Salvatore Bonaccorso wrote: > > > > > > This reverts commit 168200b6d6ea0cb5765943ec5da5b8149701f36a upstream. > > > (but only from 4.19.y) > > > > This revert would fail the build of 4.19.y with gcc10, I believe the > > original commit was introduced to address exactly this case. If this > > is intended behavior that 4.19.y is not compiled with newer gcc > > versions - then this revert is OK. > > The original commit has a dependency for commit 95c6fe970a01 ("perf > cs-etm: Change tuple from traceID-CPU# to traceID-metadata"). If the > commit 95c6fe970a01 is not backported on v4.19.y, then I think reverting > in this patch is the right way to do. Commit 95c6fe970a01 (perf cs-etm: Change tuple from traceID-CPU# to traceID-metadata) did not change a definition of traceid_list in tools/perf/util/cs-etm.h header file rather a comment above it. Definition of traceid_list in tools/perf/util/cs-etm.h header file was done in commit cd8bfd8c973ea (perf tools: Add processing of coresight metadata) which appears in all branches starting from linux-4.16.y. The issue with this definition of traceid_list in header file would break perf builds with newer gcc versions if this commit would be reverted, so I believe that than rather reverting - commit 95c6fe970a01 ("perf cs-etm: Change tuple from traceID-CPU# to traceID-metadata") should be backported onto 4.19.y instead. Or am I missing something else here? > > Thanks, > Leo > > > > The original commit introduces a build failure as seen on Debian buster > > > when compiled with gcc (Debian 8.3.0-6) 8.3.0: > > > > > > $ LC_ALL=C.UTF-8 ARCH=x86 make perf > > > [...] > > > Warning: Kernel ABI header at 'tools/include/uapi/linux/bpf.h' differs from latest version at 'include/uapi/linux/bpf.h' > > > CC util/cs-etm-decoder/cs-etm-decoder.o > > > CC util/intel-pt.o > > > util/cs-etm-decoder/cs-etm-decoder.c: In function 'cs_etm_decoder__buffer_packet': > > > util/cs-etm-decoder/cs-etm-decoder.c:287:24: error: 'traceid_list' undeclared (first use in this function); did you mean 'trace_event'? > > > inode = intlist__find(traceid_list, trace_chan_id); > > > ^~~~~~~~~~~~ > > > trace_event > > > util/cs-etm-decoder/cs-etm-decoder.c:287:24: note: each undeclared identifier is reported only once for each function it appears in > > > make[6]: *** [/build/linux-stable/tools/build/Makefile.build:97: util/cs-etm-decoder/cs-etm-decoder.o] Error 1 > > > make[5]: *** [/build/linux-stable/tools/build/Makefile.build:139: cs-etm-decoder] Error 2 > > > make[5]: *** Waiting for unfinished jobs.... > > > make[4]: *** [/build/linux-stable/tools/build/Makefile.build:139: util] Error 2 > > > make[3]: *** [Makefile.perf:633: libperf-in.o] Error 2 > > > make[2]: *** [Makefile.perf:206: sub-make] Error 2 > > > make[1]: *** [Makefile:70: all] Error 2 > > > make: *** [Makefile:77: perf] Error 2 > > > > > > Link: https://lore.kernel.org/stable/20201114083501.GA468764@eldamar.lan/ > > > Cc: Leo Yan > > > Cc: Alexander Shishkin > > > Cc: Jiri Olsa > > > Cc: Mark Rutland > > > Cc: Namhyung Kim > > > Cc: Peter Zijlstra > > > Cc: Suzuki Poulouse > > > Cc: Tor Jeremiassen > > > Cc: linux-arm-kernel@lists.infradead.org > > > Cc: Arnaldo Carvalho de Melo > > > Cc: Guenter Roeck > > > Cc: Greg Kroah-Hartman > > > Cc: # 4.19.y > > > Signed-off-by: Salvatore Bonaccorso > > > --- > > > tools/perf/util/cs-etm.c | 3 --- > > > tools/perf/util/cs-etm.h | 3 +++ > > > 2 files changed, 3 insertions(+), 3 deletions(-) > > > > > > diff --git a/tools/perf/util/cs-etm.c b/tools/perf/util/cs-etm.c > > > index ad33b99f5d21..7b5e15cc6b71 100644 > > > --- a/tools/perf/util/cs-etm.c > > > +++ b/tools/perf/util/cs-etm.c > > > @@ -87,9 +87,6 @@ struct cs_etm_queue { > > > struct cs_etm_packet *packet; > > > }; > > > > > > -/* RB tree for quick conversion between traceID and metadata pointers */ > > > -static struct intlist *traceid_list; > > > - > > > static int cs_etm__update_queues(struct cs_etm_auxtrace *etm); > > > static int cs_etm__process_timeless_queues(struct cs_etm_auxtrace *etm, > > > pid_t tid, u64 time_); > > > diff --git a/tools/perf/util/cs-etm.h b/tools/perf/util/cs-etm.h > > > index c7ef97b198c7..37f8d48179ca 100644 > > > --- a/tools/perf/util/cs-etm.h > > > +++ b/tools/perf/util/cs-etm.h > > > @@ -53,6 +53,9 @@ enum { > > > CS_ETMV4_PRIV_MAX, > > > }; > > > > > > +/* RB tree for quick conversion between traceID and CPUs */ > > > +struct intlist *traceid_list; > > > + > > > #define KiB(x) ((x) * 1024) > > > #define MiB(x) ((x) * 1024 * 1024) > > > > > > -- > > > 2.29.2 > > > > > > > > > -- > > Regards, > > Andrey. -- Regards, Andrey. 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=-10.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable 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 CD691C5519F for ; Fri, 20 Nov 2020 12:16:36 +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 47C982158C for ; Fri, 20 Nov 2020 12:16:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="YDBw9BGA"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="U+Ag/6xG" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 47C982158C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com 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:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=nk/lE7apLRbHn/Qoqo8pSTCzzL62binBTpKViCMHwGs=; b=YDBw9BGAiJDPOyFVK3s5WJPza aPGBUYPzq/xO/KO5DGNUj2g5ZHgc6BSuB9bLHNSJc9u80Errq6hKUJ5NZiDHa8/Bs8C2zKfmHglaw 4LHPVqWh/O2Pri9PHVJ2Cfkc6vBHTp/5bnj2UPTEVCeCkvmoFIQjy43o84lH/kgmwQKACbEuD9bNe n4ETzh3h4gpga5nx7p8ZnSwGXDC5r0NLzgt9sKUhpSOv0kiNW/SJ2CrxBK+R6OkUlRFRuF3qGs9LK gDHT6CPJ2Z0fhQIdShMJRG/pixRqe8xFlPpttTvA5GciKQZRoBfim5HyZKeO7kSSrv/cYX6P1t7M3 3c/qjSJlA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kg5Kf-0005Cq-QU; Fri, 20 Nov 2020 12:16:05 +0000 Received: from mail-lf1-x142.google.com ([2a00:1450:4864:20::142]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kg5Kc-0005CB-MS for linux-arm-kernel@lists.infradead.org; Fri, 20 Nov 2020 12:16:03 +0000 Received: by mail-lf1-x142.google.com with SMTP id r9so13143937lfn.11 for ; Fri, 20 Nov 2020 04:16:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=MVSaOkF3AomvYRttVt5pT5G0ZpChiXWS9V8yrqr9bO4=; b=U+Ag/6xGozQSd+HaCLrD0hEWIdBg6mA2vBFEougKY9KNMaThva+1LwdWfiNkZwlHNh cfK3oxd7cE54uC+TYTfZwY1jH83PxOO5EOQp6k8ppLJFSRjFU3sgv/3cMhwPbiXBRRs1 52WimeDmht3hFYSe6blyahsBklPiH5sbjWrnxW8ey+x40VCi805l97LBAy7p9JRg2HIW rr1j4Va8cq2vvYHvH0g+SopkAJiW+8NkJGfgbi9VZevMU7YvWgQHgtxiYRk5oxZA6QaP G5EtGykkSATFIqgF8OhhDs0P6Juwj7yq1otoVNTYfNHx/BfYLOK60c0pTFCG6z+5WuWy 747w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=MVSaOkF3AomvYRttVt5pT5G0ZpChiXWS9V8yrqr9bO4=; b=AlwQcFywxwNcipTriGF8+nNxMzeVUlSK3TrVNM/3E++hKhv1L62NjGzFsz6LtepFPD loSOIcQbXgFoTKK244ZXdwUEPabD8H+hSr1VHlMJmqT/IRucxCOPZf1dAPu7ra7Cg0xA 0aBZDt8rD4JuSUGCbvIkYM0RuTo4XT5VaAHo+j0y2eQwNW9RkdvFEh3XRSSiQy0e+i/P +I6wK5ySZ/8zhEvKysTz//sn9QncuP1FBAgtnMTrpXj6Cffxa1OH+/5ocoGFsix28pmS Uwd7Ke4CyC1jxfoKcHVAmVxhLIZg3lRwnRI6SFc2HZZMi5nznTs2TJYV23VXZC5KmnWW opxA== X-Gm-Message-State: AOAM532d1EkF4qlQ7Xp1louHcun3MXU+afNX4tq8lw18dQzBE4iln4r1 LdundTCQAKON0lV5rk+fdYvuR31sB18vjoB/OQ4= X-Google-Smtp-Source: ABdhPJxHhDispxKgVq6UB2k87k0Hbs8a1DiHLZ6sjyEAyXB3TVnLWRnnuT4B/xUmAR/+M6hO/EUXkqfYDjDP7is5plg= X-Received: by 2002:a05:6512:2151:: with SMTP id s17mr8275696lfr.287.1605874561147; Fri, 20 Nov 2020 04:16:01 -0800 (PST) MIME-Version: 1.0 References: <20201120073909.357536-1-carnil@debian.org> <20201120111948.GA7077@leoy-ThinkPad-X240s> In-Reply-To: <20201120111948.GA7077@leoy-ThinkPad-X240s> From: Andrey Zhizhikin Date: Fri, 20 Nov 2020 13:15:49 +0100 Message-ID: Subject: Re: [PATCH] Revert "perf cs-etm: Move definition of 'traceid_list' global variable from header file" To: Leo Yan X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201120_071602_768097_44E32E50 X-CRM114-Status: GOOD ( 30.32 ) 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: Mark Rutland , Suzuki Poulouse , Alexander Shishkin , Greg Kroah-Hartman , stable@vger.kernel.org, Tor Jeremiassen , Arnaldo Carvalho de Melo , Peter Zijlstra , Guenter Roeck , Namhyung Kim , Jiri Olsa , linux-arm-kernel@lists.infradead.org, Salvatore Bonaccorso 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 On Fri, Nov 20, 2020 at 12:19 PM Leo Yan wrote: > > On Fri, Nov 20, 2020 at 10:54:22AM +0100, Andrey Zhizhikin wrote: > > On Fri, Nov 20, 2020 at 8:39 AM Salvatore Bonaccorso wrote: > > > > > > This reverts commit 168200b6d6ea0cb5765943ec5da5b8149701f36a upstream. > > > (but only from 4.19.y) > > > > This revert would fail the build of 4.19.y with gcc10, I believe the > > original commit was introduced to address exactly this case. If this > > is intended behavior that 4.19.y is not compiled with newer gcc > > versions - then this revert is OK. > > The original commit has a dependency for commit 95c6fe970a01 ("perf > cs-etm: Change tuple from traceID-CPU# to traceID-metadata"). If the > commit 95c6fe970a01 is not backported on v4.19.y, then I think reverting > in this patch is the right way to do. Commit 95c6fe970a01 (perf cs-etm: Change tuple from traceID-CPU# to traceID-metadata) did not change a definition of traceid_list in tools/perf/util/cs-etm.h header file rather a comment above it. Definition of traceid_list in tools/perf/util/cs-etm.h header file was done in commit cd8bfd8c973ea (perf tools: Add processing of coresight metadata) which appears in all branches starting from linux-4.16.y. The issue with this definition of traceid_list in header file would break perf builds with newer gcc versions if this commit would be reverted, so I believe that than rather reverting - commit 95c6fe970a01 ("perf cs-etm: Change tuple from traceID-CPU# to traceID-metadata") should be backported onto 4.19.y instead. Or am I missing something else here? > > Thanks, > Leo > > > > The original commit introduces a build failure as seen on Debian buster > > > when compiled with gcc (Debian 8.3.0-6) 8.3.0: > > > > > > $ LC_ALL=C.UTF-8 ARCH=x86 make perf > > > [...] > > > Warning: Kernel ABI header at 'tools/include/uapi/linux/bpf.h' differs from latest version at 'include/uapi/linux/bpf.h' > > > CC util/cs-etm-decoder/cs-etm-decoder.o > > > CC util/intel-pt.o > > > util/cs-etm-decoder/cs-etm-decoder.c: In function 'cs_etm_decoder__buffer_packet': > > > util/cs-etm-decoder/cs-etm-decoder.c:287:24: error: 'traceid_list' undeclared (first use in this function); did you mean 'trace_event'? > > > inode = intlist__find(traceid_list, trace_chan_id); > > > ^~~~~~~~~~~~ > > > trace_event > > > util/cs-etm-decoder/cs-etm-decoder.c:287:24: note: each undeclared identifier is reported only once for each function it appears in > > > make[6]: *** [/build/linux-stable/tools/build/Makefile.build:97: util/cs-etm-decoder/cs-etm-decoder.o] Error 1 > > > make[5]: *** [/build/linux-stable/tools/build/Makefile.build:139: cs-etm-decoder] Error 2 > > > make[5]: *** Waiting for unfinished jobs.... > > > make[4]: *** [/build/linux-stable/tools/build/Makefile.build:139: util] Error 2 > > > make[3]: *** [Makefile.perf:633: libperf-in.o] Error 2 > > > make[2]: *** [Makefile.perf:206: sub-make] Error 2 > > > make[1]: *** [Makefile:70: all] Error 2 > > > make: *** [Makefile:77: perf] Error 2 > > > > > > Link: https://lore.kernel.org/stable/20201114083501.GA468764@eldamar.lan/ > > > Cc: Leo Yan > > > Cc: Alexander Shishkin > > > Cc: Jiri Olsa > > > Cc: Mark Rutland > > > Cc: Namhyung Kim > > > Cc: Peter Zijlstra > > > Cc: Suzuki Poulouse > > > Cc: Tor Jeremiassen > > > Cc: linux-arm-kernel@lists.infradead.org > > > Cc: Arnaldo Carvalho de Melo > > > Cc: Guenter Roeck > > > Cc: Greg Kroah-Hartman > > > Cc: # 4.19.y > > > Signed-off-by: Salvatore Bonaccorso > > > --- > > > tools/perf/util/cs-etm.c | 3 --- > > > tools/perf/util/cs-etm.h | 3 +++ > > > 2 files changed, 3 insertions(+), 3 deletions(-) > > > > > > diff --git a/tools/perf/util/cs-etm.c b/tools/perf/util/cs-etm.c > > > index ad33b99f5d21..7b5e15cc6b71 100644 > > > --- a/tools/perf/util/cs-etm.c > > > +++ b/tools/perf/util/cs-etm.c > > > @@ -87,9 +87,6 @@ struct cs_etm_queue { > > > struct cs_etm_packet *packet; > > > }; > > > > > > -/* RB tree for quick conversion between traceID and metadata pointers */ > > > -static struct intlist *traceid_list; > > > - > > > static int cs_etm__update_queues(struct cs_etm_auxtrace *etm); > > > static int cs_etm__process_timeless_queues(struct cs_etm_auxtrace *etm, > > > pid_t tid, u64 time_); > > > diff --git a/tools/perf/util/cs-etm.h b/tools/perf/util/cs-etm.h > > > index c7ef97b198c7..37f8d48179ca 100644 > > > --- a/tools/perf/util/cs-etm.h > > > +++ b/tools/perf/util/cs-etm.h > > > @@ -53,6 +53,9 @@ enum { > > > CS_ETMV4_PRIV_MAX, > > > }; > > > > > > +/* RB tree for quick conversion between traceID and CPUs */ > > > +struct intlist *traceid_list; > > > + > > > #define KiB(x) ((x) * 1024) > > > #define MiB(x) ((x) * 1024 * 1024) > > > > > > -- > > > 2.29.2 > > > > > > > > > -- > > Regards, > > Andrey. -- Regards, Andrey. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel