Page MenuHomeFreeBSD

ktrace.1: Add ARGS and ENVS as default trace points
ClosedPublic

Authored by jlduran on Sun, Nov 17, 5:55 PM.
Referenced Files
Unknown Object (File)
Tue, Nov 19, 10:21 AM
Unknown Object (File)
Mon, Nov 18, 9:48 PM
Unknown Object (File)
Mon, Nov 18, 7:48 PM
Unknown Object (File)
Mon, Nov 18, 4:55 PM
Unknown Object (File)
Mon, Nov 18, 4:26 AM
Unknown Object (File)
Sun, Nov 17, 8:08 PM
Subscribers

Details

Summary

After commit 65a4daeaf324 ("ktrace: log execve(2) arguments and
environment"), "a" and "e" are part of the default set of trace points.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 60645
Build 57529: arc lint + arc unit

Event Timeline

Thank you.

Regarding these being the defaults, I don't have a strong opinion, but it seems natural for them to be enabled by default as they're effectively an extension of c. That is, they're pretty-printers for execve(2) arguments.

This revision is now accepted and ready to land.Sun, Nov 17, 6:00 PM

Thank you.

You're welcome, and thank you for fixing the tests.

Regarding these being the defaults, I don't have a strong opinion, but it seems natural for them to be enabled by default as they're effectively an extension of c. That is, they're pretty-printers for execve(2) arguments.

Neither do I. Primarily motivated by fixing the tests without actually modifying them. Generally that will be my approach.