hwt: On attach, ensure owner is a target effective GID's memberThis restores a check that existed prior to commit be1f7435ef218b1d("kern: start tracking cr_gid outside of cr_groups[]").Fixes:
hwt: On attach, ensure owner is a target effective GID's memberThis restores a check that existed prior to commit be1f7435ef218b1d("kern: start tracking cr_gid outside of cr_groups[]").Fixes: be1f7435ef218b1d ("kern: start tracking cr_gid outside of cr_groups[]")MFC after: 9 daysSponsored by: The FreeBSD FoundationDifferential Revision: https://reviews.freebsd.org/D52253
show more ...
hwt: fix !SMP build.Sponsored by: UKRI
hwt: fix build.Include sys/lock.h header for spinlock_enter() prototype.Sponsored by: UKRI
Import the Hardware Trace (HWT) framework.The HWT framework provides infrastructure for hardware-assisted tracing. Itcollects detailed information about software execution and records it as"event
Import the Hardware Trace (HWT) framework.The HWT framework provides infrastructure for hardware-assisted tracing. Itcollects detailed information about software execution and records it as"events" in highly compressed format into DRAM. The events cover informationabout control flow changes of a program, whether branches taken or not,exceptions taken, timing information, cycles elapsed and more. This allowsto reconstruct entire program flow of a given application.This comes with separate machine-dependent tracing backends for tracecollection, trace decoder libraries and an instrumentation tool.Reviewed by: kib (sys/kern bits)Sponsored by: UKRIDifferential Revision: https://reviews.freebsd.org/D40466