Skip to contentSkip to conversation

perf record/report: Add call graph / call chain profiling

tip:perfcounters/core tip-bot for Ingo Molnar 1 participant 1 message Jun 14, 2009

lore
Share & tools
lore
#0 lore raw
Commit-ID:  ced7769616b40c7a0d597af775d4f123fb54dc95
Gitweb:     http://git.kernel.org/tip/ced7769616b40c7a0d597af775d4f123fb54dc95
Author:     Ingo Molnar <[email protected]>
AuthorDate: Sun, 14 Jun 2009 15:04:15 +0200
Committer:  Ingo Molnar <[email protected]>
CommitDate: Sun, 14 Jun 2009 15:04:15 +0200

perf record/report: Add call graph / call chain profiling

Add the first steps of call-graph profiling:

- add the -c (--call-graph) option to perf record
- parse the call-graph record and printout out under -D (--dump-trace)

The call-graph data is not put into the histogram yet, but it can be seen that it's being processed correctly:

0x3ce0 [0x38]: event: 35