Page MenuHomeFreeBSD

Convert hwpmc(4) debug printfs over to KTR.
ClosedPublic

Authored by jhb on May 8 2015, 4:14 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 3, 1:28 AM
Unknown Object (File)
Oct 5 2024, 3:48 AM
Unknown Object (File)
Oct 4 2024, 7:40 PM
Unknown Object (File)
Oct 1 2024, 8:54 PM
Unknown Object (File)
Sep 28 2024, 12:56 PM
Unknown Object (File)
Sep 27 2024, 11:28 PM
Unknown Object (File)
Sep 20 2024, 9:15 PM
Unknown Object (File)
Sep 17 2024, 5:35 AM
Subscribers

Details

Test Plan
  • I'm using this for debugging the issues in PR 198149

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jhb retitled this revision from to Convert hwpmc(4) debug printfs over to KTR..
jhb updated this object.
jhb edited the test plan for this revision. (Show Details)
jhb added reviewers: emaste, davide.

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.

Hmm, DTrace is always going to have more overhead than KTR and thus be less well suited for debugging traces and timing issues.

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.

davide edited edge metadata.
This revision is now accepted and ready to land.May 8 2015, 4:42 PM
emaste edited edge metadata.
This revision was automatically updated to reflect the committed changes.