[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200109125944.GS15478@tassilo.jf.intel.com>
Date: Thu, 9 Jan 2020 04:59:44 -0800
From: Andi Kleen <ak@...ux.intel.com>
To: Jiri Olsa <jolsa@...hat.com>
Cc: Jann Horn <jannh@...gle.com>,
Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...hat.com>,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Namhyung Kim <namhyung@...nel.org>,
kernel list <linux-kernel@...r.kernel.org>
Subject: Re: "perf ftrace" segfault because ->cpus!=NULL but ->all_cpus==NULL
> oops, ftrace is using evlist without event ;-) so all_cpus
> will not get initialized..
>
> Andi, should we initialize evlist::all_cpus with the first
> cpus we get, like in the patch below?
I assume perf stat -A still works for all CPUs? If yes it's ok.
-andi
Powered by blists - more mailing lists