All of lore.kernel.org
 help / color / mirror / Atom feed
* Appended data not reportable
@ 2013-01-04 22:28 David Flater
  2013-01-04 23:17 ` David Ahern
  0 siblings, 1 reply; 2+ messages in thread
From: David Flater @ 2013-01-04 22:28 UTC (permalink / raw)
  To: Perf Users

With kernel/perf 3.7.1, trying to do something akin to the "sum" option of
gprof to pool the samples from multiple runs.

This option from the perf-record man page looked promising:
-A, --append
    Append to the output file to do incremental profiling.

bash-4.2$ perf record -F 1000 ./app
bash-4.2$ perf record -F 1000 -A ./app

perf.data gets bigger, but then neither perf report nor perf script work.  Both
say:
0x1a0 [0]: failed to process type: 0

Is this a regression?

Thanks,
-- 
David Flater, National Institute of Standards and Technology, U.S.A.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Appended data not reportable
  2013-01-04 22:28 Appended data not reportable David Flater
@ 2013-01-04 23:17 ` David Ahern
  0 siblings, 0 replies; 2+ messages in thread
From: David Ahern @ 2013-01-04 23:17 UTC (permalink / raw)
  To: David Flater; +Cc: Perf Users

On 1/4/13 3:28 PM, David Flater wrote:
> With kernel/perf 3.7.1, trying to do something akin to the "sum" option of
> gprof to pool the samples from multiple runs.
>
> This option from the perf-record man page looked promising:
> -A, --append
>      Append to the output file to do incremental profiling.
>
> bash-4.2$ perf record -F 1000 ./app
> bash-4.2$ perf record -F 1000 -A ./app
>
> perf.data gets bigger, but then neither perf report nor perf script work.  Both
> say:
> 0x1a0 [0]: failed to process type: 0
>
> Is this a regression?

It's been broken for a long time now.

David

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-01-04 23:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-04 22:28 Appended data not reportable David Flater
2013-01-04 23:17 ` David Ahern

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.