BIND 10 #1564: document how to profile - valgrind/callgrind/kcachegrind
BIND 10 Development
do-not-reply at isc.org
Thu Jan 19 07:03:50 UTC 2012
#1564: document how to profile - valgrind/callgrind/kcachegrind
-------------------------------------+-------------------------------------
Reporter: jelte | Owner: jelte
Type: task | Status: reviewing
Priority: major | Milestone:
Component: | Sprint-20120124
Unclassified | Resolution:
Keywords: | Sensitive: 0
Defect Severity: N/A | Sub-Project: DNS
Feature Depending on Ticket: | Estimated Difficulty: 0
Add Hours to Ticket: 0 | Total Hours: 0
Internal?: 0 |
-------------------------------------+-------------------------------------
Changes (by vorner):
* owner: vorner => jelte
Comment:
Hello
I guess the setup_intree_bind10.sh is mostly for the B10_FROM_SOURCE
variables (we really should be OK with just one to signal the whole in-
source situation at once).
For building, maybe mentioning that a optimised build might be necessary?
Does the thing count time or instructions?
Wouldn't running the thing be easier by:
{{{
libtool --mode=execute valgrind --tool=callgrind ./src/bin/auth/b10-auth
}}}
One doesn't have to guess what is the exact binary in the .libs directory,
as it differs between OSes. Also, it would work even when the
B10_FROM_SOURCE & friends are set by hand, without the whole set of
library environment variables.
Would you know of a tool other than kcachegrind? Than one has an
unfortunate set of (mostly indirect) dependencies. I discovered only the
commandline cachegrind_annotate.
--
Ticket URL: <http://bind10.isc.org/ticket/1564#comment:4>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list