Chapter 17
KUtrace: User-Mode Runtime Control
The standalone kutrace_control program provides user-mode control of tracing. It uses the small kutrace_lib.cc runtime library, which in turn uses a system call to reach the kutrace_control entry point in the loadable module, as shown in Figure 17.1. The underlying implementation of all the controlling functionality thus resides in the loadable module.
Self-tracing programs can call the library code directly for finer-grained or specialized tracing control. The user-mode library also allows adding human-meaningful markers to the trace, as we saw in Chapter ...
Get Understanding Software Dynamics now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.