opnsense-src/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 cam nvme: fix array overrun 2018-05-28 03:14:36 +00:00
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 disable printing value of SKEIN_LOOP during standard out, 2018-05-19 18:27:14 +00:00
ddb Extend show proc with reaper, sigparent, and vmspace information 2018-05-25 13:59:48 +00:00
dev hwpmc: support sampling both kernel and user stacks when interrupted in kernel 2018-06-04 01:10:23 +00:00
dts arm: overlays: Update to new path-based sugar format 2018-05-04 14:38:48 +00:00
fs Fix a gcc8 warning about a write only variable. 2018-06-03 19:46:44 +00:00
gdb amd64: Protect the kernel text, data, and BSS by setting the RW/NX bits 2018-03-06 14:28:37 +00:00
geom Introduce the 'n' flag for the geli attach command. 2018-05-09 20:53:38 +00:00
gnu gnu/dts: Update our copy of arm dts from Linux 4.16 2018-04-20 19:37:08 +00:00
i386 Oops, the last minute reduction in the clobber list for i386 2018-06-02 09:59:27 +00:00
isa Revert r330780, it was improperly tested and results in taking a spin 2018-03-11 20:13:15 +00:00
kern hwpmc: support sampling both kernel and user stacks when interrupted in kernel 2018-06-04 01:10:23 +00:00
kgssapi kgssapi: Remove trivial deadcode 2018-02-14 00:12:03 +00:00
libkern Use __builtin for various mem* and b* (e.g. bzero) routines. 2018-06-02 18:03:35 +00:00
mips MALTA64EL: disable modules until objcopy is fixed 2018-05-24 23:58:57 +00:00
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 Use an accessor function to access ifr_data. 2018-03-30 18:50:13 +00:00
netgraph Catch up two more places to the V_ifnet change to a CK_STAILQ. 2018-05-24 00:06:55 +00:00
netinet malloc: try to use builtins for zeroing at the callsite 2018-06-02 22:20:09 +00:00
netinet6 Remove empty encap_init() function. 2018-05-29 12:32:08 +00:00
netipsec Temporary disable SPDCACHE statistic accounting until proper fix will be 2018-05-28 09:23:28 +00:00
netpfil pf: Replace rwlock on PF_RULES_LOCK with rmlock 2018-05-30 07:11:33 +00:00
netsmb Eliminate the overhead of gratuitous repeated reinitialization of cap_rights 2018-05-09 18:47:24 +00:00
nfs UDP: further performance improvements on tx 2018-05-23 21:02:14 +00:00
nfsclient style: Remove remaining deprecated MALLOC/FREE macros 2018-01-25 22:25:13 +00:00
nfsserver
nlm Use syscall_helper_register() to register syscalls and initialize though 2018-02-10 01:09:22 +00:00
ofed UDP: further performance improvements on tx 2018-05-23 21:02:14 +00:00
opencrypto cryptosoft: Do not exceed crd_len around *crypt_multi 2018-04-19 15:24:21 +00:00
powerpc Included VSX registers in powerpc core dumps 2018-06-02 20:28:58 +00:00
riscv Export a breakpoint() function to userland for riscv. 2018-05-16 16:56:35 +00:00
rpc
security #include <bsm/audit.h> in security/audit/audit_ioctl.h 2018-05-30 21:50:23 +00:00
sparc64 Define memmove and make bcopy alt entry point 2018-05-24 21:11:28 +00:00
sys hwpmc: support sampling both kernel and user stacks when interrupted in kernel 2018-06-04 01:10:23 +00:00
teken teken: Fix sequences header which was crossing the 80-col boundary 2018-05-29 08:41:44 +00:00
tests epoch(9): Make epochs non-preemptible by default 2018-05-18 17:29:43 +00:00
tools Add dtb overlays support 2018-03-24 21:30:24 +00:00
ufs ufs: remove cgbno variable where unused 2018-05-19 19:30:42 +00:00
vm Remove the "pass" variable from the page daemon control loop. 2018-06-02 00:01:07 +00:00
x86 add support for console resuming, implement it for uart, use on x86 2018-05-29 16:16:24 +00:00
xdr
xen xen: remove dead code from gnttab.h 2018-05-25 08:44:00 +00:00
Makefile