]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
perf tools: callchain: Fix 'perf report' display to be callchain by default
authorFrederic Weisbecker <fweisbec@gmail.com>
Sat, 8 Aug 2009 00:16:24 +0000 (02:16 +0200)
committerIngo Molnar <mingo@elte.hu>
Sun, 9 Aug 2009 10:54:42 +0000 (12:54 +0200)
commitb1a88349c37624755b28ac3b3152b48f52c1f487
tree7dbcf52f06be731e6041c0371b9b185d92cf1eed
parentb0efe213f84f7fd5ccfe07053e3d9fb827b7c188
perf tools: callchain: Fix 'perf report' display to be callchain by default

If we recorded with -g option to record the callchain, right now
we require a -g option to perf report as well - and people reported
this as unnecessary complication: the user already specified -g
once, no need to require it a second time.

So if the recording includes call-chains, display the callchain by
default from perf report.

( The user can override this default using "-g none" option from
  perf report. )

Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
LKML-Reference: <1249690585-9145-3-git-send-email-fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/builtin-report.c
tools/perf/util/callchain.h