]> git.baikalelectronics.ru Git - kernel.git/commit
perf callchain: Fixup parameter handling error message
authorKan Liang <kan.liang@intel.com>
Tue, 2 Dec 2014 15:06:52 +0000 (10:06 -0500)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 9 Dec 2014 13:06:11 +0000 (10:06 -0300)
commit7db5b5a0ed9df38b1f516cc3095a4fd76420d57c
tree25145002f64cbb7265becbbf1860153d2e4cd331
parentd9c7328bb537eedb79aa3ee6f365cc8436349a7f
perf callchain: Fixup parameter handling error message

Fix up parse_callchain_record_opt error message for 'fp', in the past using '-g
fp' was a valid alternative to '--call-graph fp', which is not the case since:

  commit ca96ed2ae397cc637699f846505f9741b601d3c8
  Author: Jiri Olsa <jolsa@redhat.com>
  Date:   Sat Oct 26 16:25:33 2013 +0200

  perf record: Split -g and --call-graph

I.e. -g means "use the configured unwind data collection method" which has as
default 'fp', while --call-graph requires passing the method to use.

Signed-off-by: Kan Liang <kan.liang@intel.com>
Acked-by: Jiri Olsa <jolsa@redhat.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1417532814-26208-2-git-send-email-kan.liang@intel.com
[ split this from a larger patch related to LBR based unwinding ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/callchain.c