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)
Sat, Apr 20, 4:05 AM
Unknown Object (File)
Sat, Apr 20, 1:44 AM
Unknown Object (File)
Mar 18 2024, 2:47 PM
Unknown Object (File)
Jan 9 2024, 11:34 PM
Unknown Object (File)
Dec 19 2023, 11:49 PM
Unknown Object (File)
Nov 14 2023, 11:30 AM
Unknown Object (File)
Nov 14 2023, 2:06 AM
Unknown Object (File)
Oct 13 2023, 10:32 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.