CVSROOT: /cvs Module name: src Changes by: m...@cvs.openbsd.org 2020/01/21 09:16:23
Modified files: sys/arch/amd64/amd64: conf.c sys/arch/arm/arm: conf.c sys/arch/arm64/arm64: conf.c sys/arch/i386/i386: conf.c sys/arch/landisk/landisk: conf.c sys/arch/loongson/loongson: conf.c sys/arch/luna88k/luna88k: conf.c sys/arch/macppc/macppc: conf.c sys/arch/octeon/octeon: conf.c sys/arch/sgi/sgi: conf.c sys/arch/sparc64/sparc64: conf.c sys/conf : GENERIC files sys/kern : kern_clock.c kern_sched.c kern_synch.c sched_bsd.c sys/sys : conf.h syscall_mi.h Added files: sys/dev/dt : dt_dev.c dt_prov_profile.c dt_prov_static.c dt_prov_syscall.c dtvar.h sys/sys : tracepoint.h Log message: Import dt(4) a driver and framework for Dynamic Profiling. The design is fairly simple: events, in the form of descriptors on a ring, are being produced in any kernel context and being consumed by a userland process reading /dev/dt. Code and hooks are all guarded under '#if NDT > 0' so this commit shouldn't introduce any change as long as dt(4) is disable in GENERIC. ok kettenis@, visa@, jasper@, deraadt@