perf callchain: Fixup help/config for no-unwinding
authorRabin Vincent <rabinv@axis.com>
Wed, 10 Aug 2016 13:52:28 +0000 (15:52 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 8 Nov 2016 01:13:47 +0000 (22:13 -0300)
commitc56cb33b56c13493eeb95612f80e4dd6e35cd109
treed5dcf7b02554d1b20b0f9328c417ecec15aba001
parent91a79e5fa696fa626bfbd47f827eaf3eb7d76dc5
perf callchain: Fixup help/config for no-unwinding

Since 841e3558b2d ("perf callchain: Recording 'dwarf' callchains do not
need DWARF unwinding support"), --call-graph dwarf is allowed in 'perf
record' even without unwind support.  A couple of other places don't
reflect this yet though: the help text should list dwarf as a valid
record mode and the dump_size config should be respected too.

Signed-off-by: Rabin Vincent <rabinv@axis.com>
Cc: He Kuang <hekuang@huawei.com>
Fixes: 841e3558b2de ("perf callchain: Recording 'dwarf' callchains do not need DWARF unwinding support")
Link: http://lkml.kernel.org/r/1470837148-7642-1-git-send-email-rabin.vincent@axis.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/callchain.c
tools/perf/util/callchain.h