add decoding capability of TH_AE to dtrace, including
the example provided with tcpdebug.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 55166 Build 52055: arc lint + arc unit
Event Timeline
Comment Actions
- bump version number of the modified string bindings
cddl/lib/libdtrace/tcp.d | ||
---|---|---|
269 | tcp.h (in context _BSD_VISIBLE). May be renamed to __tcp_tcp_flags() for userspace though subsequently. |
cddl/lib/libdtrace/tcp.d | ||
---|---|---|
269 | But how does dtrace know about tcp.h? And how can it compile and run C functions? I do not think this can work. dtrace can parse C to get some types of definitions, but that is fairly limited. You'll need to implement tcp_get_flags as an inline, I think, similar to how tcp_state_string works. |
cddl/lib/libdtrace/tcp.d | ||
---|---|---|
90 |
cddl/lib/libdtrace/tcp.d | ||
---|---|---|
248 | Yes. It's syntax which allows D scripts to refer to the kernel's global variables. |