diff options
| author | He Kuang <[email protected]> | 2015-05-28 13:17:30 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-06-08 13:30:32 +0000 |
| commit | 457ae94ae047330e75c13f28ead6de31eab245ed (patch) | |
| tree | ec525a71f8f7b573bb8c0b6dd5779844e7c4976d /tools/perf/builtin-annotate.c | |
| parent | tools lib traceevent: Ignore libtrace-dynamic-list file (diff) | |
| download | kernel-457ae94ae047330e75c13f28ead6de31eab245ed.tar.gz kernel-457ae94ae047330e75c13f28ead6de31eab245ed.zip | |
perf record: Fix perf.data size in no-buildid mode
The size of perf.data is missing update in no-buildid mode, which gives
wrong output result.
Before this patch:
$ perf.perf record -B -e syscalls:sys_enter_open uname
Linux
[ perf record: Woken up 1 times to write data ]
[ perf record: Captured and wrote 0.000 MB perf.data ]
After this patch:
$ perf.perf record -B -e syscalls:sys_enter_open uname
Linux
[ perf record: Woken up 1 times to write data ]
[ perf record: Captured and wrote 0.001 MB perf.data ]
Signed-off-by: He Kuang <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Wang Nan <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
0 files changed, 0 insertions, 0 deletions
