freebsd-dev/sys
Matt Macy 5de96e33d6 hwpmc: support sampling both kernel and user stacks when interrupted in kernel
This adds the -U options to pmcstat which will attribute in-kernel samples
back to the user stack that invoked the system call. It is not the default,
because when looking at kernel profiles it is generally more desirable to
merge all instances of a given system call together.

Although heavily revised, this change is directly derived from D7350 by
Jonathan T. Looney.

Obtained from: jtl
Sponsored by: Juniper Networks, Limelight Networks
2018-06-04 01:10:23 +00:00
..
amd64 Remove an unused argument to turnstile_unpend. 2018-06-02 22:37:53 +00:00
arm aw_mmc: Get max-frequency from the dtb 2018-05-31 15:41:56 +00:00
arm64 Move the code to print the EFI memory table to a new function and call it 2018-05-31 12:37:34 +00:00
bsm
cam
cddl Revert r326083, it doesn't behave as expected. 2018-06-03 03:53:11 +00:00
compat Implement the __sg_alloc_table_from_pages() function based on the existing 2018-06-01 12:09:07 +00:00
conf Improve defaults for per-CPU kernel console colors, especially with 2 2018-06-02 14:07:27 +00:00
contrib malloc: try to use builtins for zeroing at the callsite 2018-06-02 22:20:09 +00:00
crypto
ddb
dev hwpmc: support sampling both kernel and user stacks when interrupted in kernel 2018-06-04 01:10:23 +00:00
dts
fs Fix a gcc8 warning about a write only variable. 2018-06-03 19:46:44 +00:00
gdb
geom
gnu
i386 Oops, the last minute reduction in the clobber list for i386 2018-06-02 09:59:27 +00:00
isa
kern hwpmc: support sampling both kernel and user stacks when interrupted in kernel 2018-06-04 01:10:23 +00:00
kgssapi
libkern Use __builtin for various mem* and b* (e.g. bzero) routines. 2018-06-02 18:03:35 +00:00
mips
modules hwpmc: remove unused pre-table driven bits for intel 2018-05-31 22:41:07 +00:00
net Reduce overhead of entropy collection 2018-05-31 21:53:07 +00:00
net80211
netgraph
netinet malloc: try to use builtins for zeroing at the callsite 2018-06-02 22:20:09 +00:00
netinet6
netipsec
netpfil pf: Replace rwlock on PF_RULES_LOCK with rmlock 2018-05-30 07:11:33 +00:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed
opencrypto
powerpc Included VSX registers in powerpc core dumps 2018-06-02 20:28:58 +00:00
riscv
rpc
security #include <bsm/audit.h> in security/audit/audit_ioctl.h 2018-05-30 21:50:23 +00:00
sparc64
sys hwpmc: support sampling both kernel and user stacks when interrupted in kernel 2018-06-04 01:10:23 +00:00
teken
tests
tools
ufs
vm Remove the "pass" variable from the page daemon control loop. 2018-06-02 00:01:07 +00:00
x86
xdr
xen
Makefile