[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20181009214158.GB31206@krava>
Date: Tue, 9 Oct 2018 23:41:58 +0200
From: Jiri Olsa <jolsa@...hat.com>
To: Anthony LaTorre <tlatorre9@...il.com>
Cc: peterz@...radead.org, mingo@...hat.com, jolsa@...nel.org,
acme@...nel.org, alexander.shishkin@...ux.intel.com,
namhyung@...nel.org, linux-kernel@...r.kernel.org
Subject: Re: perf report segfault
On Tue, Oct 09, 2018 at 03:18:12PM -0500, Anthony LaTorre wrote:
> Ok, I can reliably reproduce it by profiling the following program:
>
> #include <math.h>
>
> int main(int argc, char **argv)
> {
> int i;
> double sum;
>
> while (1) {
> sum += exp(++i);
> }
>
> return 0;
> }
>
> compiled with:
>
> $ cc -o test test.c -lm
>
> with the following command:
>
> $ perf record -F 99 -p 20016 --call-graph dwarf sleep 10
still nothing.. any chance you could try on latest perf sources?
$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git
$ cd linux
$ git checkout -b perf/core origin/perf/core
$ cd tools/perf
$ make
$ ./perf ...
you might need some packages mentioned in (search for 'yum install'):
https://perf.wiki.kernel.org/index.php/Jolsa_Howto_Install_Sources
it's little outdated, but the packages lists will do
thanks,
jirka
Powered by blists - more mailing lists