CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2023/04/26 10:53:59

Modified files:
        sys/arch/amd64/amd64: db_trace.c 
        sys/arch/arm64/arm64: db_trace.c 
        sys/arch/hppa/hppa: db_interface.c 
        sys/arch/i386/i386: db_trace.c 
        sys/arch/mips64/mips64: trap.c 
        sys/arch/powerpc/ddb: db_trace.c 
        sys/arch/powerpc64/powerpc64: db_trace.c 
        sys/arch/sparc64/sparc64: db_trace.c 
        sys/dev/dt     : dt_dev.c dt_prov_profile.c dtvar.h 
        sys/sys        : stacktrace.h 

Log message:
Implement dt(4) utrace support on amd64 and i386.

This adds stacktrace_save_utrace() to extract and save the userland stack
which is stubbed out on most archs. alpha and riscv64 do not even implement
dt(4) and stacktrace_save_at() so the stubs are excluded there.

Additionally add a new ioctl DTIOCGETAUXBASE which allows btrace to
fetch the AUX_BASE vallue from the AUX vector of a process.

OK mpi@ (some time ago) discussed with kettenis@

Reply via email to