summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/machine.h
diff options
context:
space:
mode:
authorHe Kuang <hekuang@huawei.com>2015-05-28 15:17:30 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2015-06-08 15:30:32 +0200
commit457ae94ae047330e75c13f28ead6de31eab245ed (patch)
treeec525a71f8f7b573bb8c0b6dd5779844e7c4976d /tools/perf/util/machine.h
parenttools lib traceevent: Ignore libtrace-dynamic-list file (diff)
downloadlinux-457ae94ae047330e75c13f28ead6de31eab245ed.tar.xz
linux-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 <hekuang@huawei.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Wang Nan <wangnan0@huawei.com> Link: http://lkml.kernel.org/r/1432819050-30511-1-git-send-email-hekuang@huawei.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/machine.h')
0 files changed, 0 insertions, 0 deletions