- I'm using this for debugging the issues in PR 198149
Details
Details
- Reviewers
emaste davide - Commits
- rS282658: Convert hwpmc(4) debug printfs over to KTR.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Please do this as SDTs as well or exclusively. It's fine to remove the printfs, but we really need to move to DTrace as our all around
tracing tool.
Comment Actions
Hmm, DTrace is always going to have more overhead than KTR and thus be less well suited for debugging traces and timing issues.
Comment Actions
The patch looks very good to me and thanks for undertaking this effort.
About SDT I don't disagree with them but *exclusively* seems a little bit too much, lots of people rely on KTR for tracing (me included) and it seems to be a more lighweight solution than Dtrace if you need limited capabilities.