tacy@tacy:~$ sudo perf record --call-graph dwarf -a
callchain: Unknown --call-graph option value: dwarf
usage: perf record [<options>] [<command>]
or: perf record [<options>] -- <command> [<options>]
--call-graph <mode[,dump_size]> setup and enables call-graph (stack chain/backtrace) recording: fp
tacy@tacy:~$ uname -a
Linux tacy 3.13.0-27-generic #50~precise1-Ubuntu SMP Fri May 16 20:47:56 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
tacy@tacy:~$ cd -
/home/tacy/linux-lts-trusty-3.13.0/tools/perf
tacy@tacy:~/linux-lts-trusty-3.13.0/tools/perf$ sudo ./perf record --call-graph dwarf -a
^C[ perf record: Woken up 63 times to write data ]
[ perf record: Captured and wrote 17.352 MB perf.data (~758127 samples) ]
tacy@tacy:~/linux-lts-trusty-3.13.0/tools/perf$ ./perf --version
perf version 3.13.11
tacy@tacy:~/linux-lts-trusty-3.13.0/tools/perf$ perf --version
perf version 3.13.11
Yes, After manually compiling can support, but default perf don't support.
Hi Julian
Below is my test.
tacy@tacy:~$ sudo perf record --call-graph dwarf -a
callchain: Unknown --call-graph option value: dwarf
usage: perf record [<options>] [<command>]
or: perf record [<options>] -- <command> [<options>]
tacy@tacy:~$ uname -a
Linux tacy 3.13.0-27-generic #50~precise1-Ubuntu SMP Fri May 16 20:47:56 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
tacy@tacy:~$ cd - linux-lts- trusty- 3.13.0/ tools/perf ~/linux- lts-trusty- 3.13.0/ tools/perf$ sudo ./perf record --call-graph dwarf -a
/home/tacy/
tacy@tacy:
^C[ perf record: Woken up 63 times to write data ]
[ perf record: Captured and wrote 17.352 MB perf.data (~758127 samples) ]
tacy@tacy: ~/linux- lts-trusty- 3.13.0/ tools/perf$ ./perf --version ~/linux- lts-trusty- 3.13.0/ tools/perf$ perf --version
perf version 3.13.11
tacy@tacy:
perf version 3.13.11
Yes, After manually compiling can support, but default perf don't support.