Re: [GIT PULL||RFC 00/11] perf library and regression testing improvements

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Stephane Eranian
Date: Tuesday, January 4, 2011 - 6:59 am

Arnaldo,

The version of perf at tip-x86 commit 9274b36, segfaults for me:

$ gdb perf
(gdb) r stat date

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fdc602eb6e0 (LWP 4590)]
cmd_stat (argc=1, argv=0x7fff6fa2a9f0, prefix=<value optimized out>)
at builtin-stat.c:206
206			update_stats(&ps->res_stats[i], count[i]);
(gdb) bt
#0  cmd_stat (argc=1, argv=0x7fff6fa2a9f0, prefix=<value optimized
out>) at builtin-stat.c:206
#1  0x0000000000405c8b in handle_internal_command (argc=2,
argv=0x7fff6fa2a9f0) at perf.c:286
#2  0x00000000004060b0 in main (argc=2, argv=0x7fff6fa2a680) at perf.c:403

Most like ps is NULL.


On Tue, Jan 4, 2011 at 8:16 AM, Ingo Molnar <mingo@elte.hu> wrote:
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[GIT PULL||RFC 00/11] perf library and regression testing ..., Arnaldo Carvalho de Melo, (Mon Jan 3, 8:48 pm)
[PATCH 01/11] perf tools: Introduce event selectors, Arnaldo Carvalho de Melo, (Mon Jan 3, 8:48 pm)
[PATCH 06/11] perf evsel: Introduce per cpu and per thread ..., Arnaldo Carvalho de Melo, (Mon Jan 3, 8:48 pm)
[PATCH 07/11] perf tools: Refactor cpumap to hold nr and t ..., Arnaldo Carvalho de Melo, (Mon Jan 3, 8:48 pm)
[PATCH 08/11] perf tools: Refactor all_tids to hold nr and ..., Arnaldo Carvalho de Melo, (Mon Jan 3, 8:48 pm)
[PATCH 09/11] perf evsel: Use {cpu,thread}_map to shorten ..., Arnaldo Carvalho de Melo, (Mon Jan 3, 8:48 pm)
[PATCH 10/11] perf evsel: Auto allocate resources needed f ..., Arnaldo Carvalho de Melo, (Mon Jan 3, 8:48 pm)
Re: [GIT PULL||RFC 00/11] perf library and regression test ..., Stephane Eranian, (Tue Jan 4, 6:59 am)
Re: [GIT PULL||RFC 00/11] perf library and regression test ..., Arnaldo Carvalho de Melo, (Tue Jan 4, 7:03 am)
Re: [GIT PULL||RFC 00/11] perf library and regression test ..., Arnaldo Carvalho de Melo, (Tue Jan 4, 7:12 am)
Re: [GIT PULL||RFC 00/11] perf library and regression test ..., Arnaldo Carvalho de Melo, (Tue Jan 4, 7:19 am)
Re: [GIT PULL||RFC 00/11] perf library and regression test ..., Arnaldo Carvalho de Melo, (Tue Jan 4, 7:27 am)
Re: [GIT PULL||RFC 00/11] perf library and regression test ..., Arnaldo Carvalho de Melo, (Tue Jan 4, 7:34 am)
Re: [GIT PULL||RFC 00/11] perf library and regression test ..., Arnaldo Carvalho de Melo, (Tue Jan 4, 7:36 am)
Re: [GIT PULL||RFC 00/11] perf library and regression test ..., Arnaldo Carvalho de Melo, (Tue Jan 4, 8:24 am)
Re: [GIT PULL||RFC 00/11] perf library and regression test ..., Arnaldo Carvalho de Melo, (Tue Jan 4, 8:30 am)