git: ktrace/kdump: Implement sysctl tracing.

Sascha Wildner swildner at crater.dragonflybsd.org
Tue Apr 4 12:42:58 PDT 2023


commit 55f88487c75dc7b6ea86dd30bf8651f154ddd3c8
Author: Sascha Wildner <saw at online.de>
Date:   Tue Apr 4 21:42:20 2023 +0200

    ktrace/kdump: Implement sysctl tracing.
    
    Useful to know which sysctls exactly are being accessed.
    
    Adapted-from: FreeBSD

Summary of changes:
 lib/libc/sys/ktrace.2   |  7 +++++--
 sys/kern/kern_ktrace.c  | 32 ++++++++++++++++++++++++++++++++
 sys/kern/kern_sysctl.c  | 16 +++++++++++-----
 sys/sys/ktrace.h        |  9 +++++++++
 usr.bin/kdump/kdump.1   |  6 +++---
 usr.bin/kdump/kdump.c   |  4 ++++
 usr.bin/ktrace/ktrace.1 |  8 ++++++--
 usr.bin/ktrace/ktrace.h |  2 +-
 usr.bin/ktrace/subr.c   |  3 +++
 9 files changed, 74 insertions(+), 13 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/55f88487c75dc7b6ea86dd30bf8651f154ddd3c8


-- 
DragonFly BSD source repository


More information about the Commits mailing list