Re: [rfc] add callgraph PC annotation to pmcstat

2014-02-18 Thread Adrian Chadd
.. and now with file:line information:

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

It doesn't yet correctly handle klds - the address calculation stuff
isn't taking the load addr into account.


-a
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


[rfc] add callgraph PC annotation to pmcstat

2014-02-18 Thread Adrian Chadd
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
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"