Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Feb 2014 16:32:32 -0800
From:      Adrian Chadd <adrian@freebsd.org>
To:        "freebsd-arch@freebsd.org" <freebsd-arch@freebsd.org>, freebsd-current <freebsd-current@freebsd.org>,  George Neville-Neil <gnn@freebsd.org>
Subject:   [rfc] add callgraph PC annotation to pmcstat
Message-ID:  <CAJ-VmomBYHvG7PWM8MMuS5c9H1RfXdYG8=j2vGhqxkCyN%2B4A%2Bg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

This patch adds callgraph annotation to pmcstat via -a. It doesn't
(yet) add line numbers; I'll see if I can easily add that without too
much effort.

This is like (and based on) the -m option but the -m option only
prints the first entry in the callgraph. It isn't very useful if you
want to see what actually called it and where it called it from, in
order to trace things like "where's that memcpy actually coming from?"

http://people.freebsd.org/~adrian/netflix/20140218-pmcstat-callgraph-annotate.diff

Thanks!



-a



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmomBYHvG7PWM8MMuS5c9H1RfXdYG8=j2vGhqxkCyN%2B4A%2Bg>