Skip to contentSkip to conversation

Appended data not reportable

DISCUSSION David Flater 2 participants 2 messages Jan 4, 2013

lore
Share & tools
lore
#0 lore raw

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,

Signature · 1 line
David Flater, National Institute of Standards and Technology, U.S.A.
#1 lore raw
Quoted 7 lines · David Flater

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.

Quoted 8 lines

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