freebsd-dev/sys
Oleksandr Tymoshenko f85aa85895 [hwpmc] Fix call chain capture for ARM64
Use ELR register value instead of LR for PMC_TRAPFRAME_TO_PC macro since
it's the former that indicates PC if the interrupted execution thread.

This fixes a bug where pmcstat lost the leaf function of the call chain
and started with the second function in the chain.

Although this change is an improvement over the previous logic there is still
posibility for incomplete data: if the leaf function does not have stack
variables and does not call any other functions compiler would not generate
a stack frame for it and the FP value would point to the caller's frame, so
instead of the actual "caller1 -> caller2 -> leaf" chain only
"caller1 -> leaf" would be captured.

Sponsored by:	Ampere Computing
Submitted by:	Klara, Inc.
2020-10-22 05:07:25 +00:00
..
amd64 Improve FPU Tag Word reconstruction on i386 to indicate register states. 2020-10-21 00:15:12 +00:00
arm Simplify preload_dump() condition 2020-10-15 20:21:15 +00:00
arm64 [hwpmc] Fix call chain capture for ARM64 2020-10-22 05:07:25 +00:00
bsm bsm: add AUE_CLOSERANGE 2020-04-24 01:27:25 +00:00
cam vmapbuf: don't smuggle address or length in buf 2020-10-21 16:00:15 +00:00
cddl Update OpenZFS to 2.0.0-rc3-gfc5966 2020-10-17 01:06:04 +00:00
compat Make linux(4) warn about unsupported socket(2) types. 2020-10-21 18:45:48 +00:00
conf Add a kernel crypto driver using assembly routines from OpenSSL. 2020-10-20 17:50:18 +00:00
contrib vfs: drop the de facto curthread argument from VOP_INACTIVE 2020-10-20 07:19:03 +00:00
crypto [armv8crypto] Fix cryptodev probe logic in armv8crypto 2020-10-22 04:49:14 +00:00
ddb ddb: clean up empty lines in .c and .h files 2020-09-01 22:14:30 +00:00
dev Pass lower 3 bits of sector_count for FPDMA commands. 2020-10-22 03:30:39 +00:00
dts Brand our DTS with the Linux version it was imported from 2020-10-10 07:18:51 +00:00
fs vfs: drop the de facto curthread argument from VOP_INACTIVE 2020-10-20 07:19:03 +00:00
gdb gdb(4): Don't escape GDB special characters at application layer 2020-09-30 14:55:54 +00:00
geom geom_ctl.c: remove stale header files 2020-10-20 20:59:13 +00:00
gnu Brand our DTS with the Linux version it was imported from 2020-10-10 07:18:51 +00:00
i386 Improve FPU Tag Word reconstruction on i386 to indicate register states. 2020-10-21 00:15:12 +00:00
isa
kern vmapbuf: don't smuggle address or length in buf 2020-10-21 16:00:15 +00:00
kgssapi State kgssapi dependency on xdr. 2020-09-17 22:29:38 +00:00
libkern arc4random(9): Integrate with RANDOM_FENESTRASX push-reseed 2020-10-10 21:48:06 +00:00
mips Avoid dump_avail[] redefinition. 2020-10-14 22:51:40 +00:00
modules Add a kernel crypto driver using assembly routines from OpenSSL. 2020-10-20 17:50:18 +00:00
net Add support for stacked VLANs (IEEE 802.1ad, AKA Q-in-Q). 2020-10-21 21:28:20 +00:00
net80211 net80211: factor out the priv(9) checks into OS specifc code. 2020-10-18 21:34:04 +00:00
netgraph ng_l2tp: Fix callout synchronization in the rexmit timeout handler 2020-09-25 18:55:50 +00:00
netinet icmp6: Count packets dropped due to an invalid hop limit 2020-10-19 17:07:19 +00:00
netinet6 icmp6: Count packets dropped due to an invalid hop limit 2020-10-19 17:07:19 +00:00
netipsec Trigger soft lifetime expiration on sequence number 2020-10-16 11:27:01 +00:00
netpfil Add dtrace SDT probe ipfw:::rule-matched. 2020-10-21 15:01:33 +00:00
netsmb net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
nfs nfs: clean up empty lines in .c and .h files 2020-09-01 21:25:39 +00:00
nfsclient nfs: clean up empty lines in .c and .h files 2020-09-01 21:25:39 +00:00
nfsserver nfs: clean up empty lines in .c and .h files 2020-09-01 21:25:39 +00:00
nlm nlm: clean up empty lines in .c and .h files 2020-09-01 22:14:52 +00:00
ofed Allow IP over IB to work with multiple FIBs. 2020-10-13 20:41:51 +00:00
opencrypto Fix a couple of bugs for asym crypto introduced in r359374. 2020-10-19 20:04:03 +00:00
powerpc Avoid dump_avail[] redefinition. 2020-10-14 22:51:40 +00:00
riscv riscv: zero reserved PTE bits for L2 PTEs 2020-10-17 17:31:06 +00:00
rpc Fix a potential memory leak in the NFS over TLS handling code. 2020-09-05 00:50:52 +00:00
security mac_framework.h: fix build with DEBUG_VFS_LOCKS and !MAC 2020-09-03 20:30:52 +00:00
sys vmapbuf: don't smuggle address or length in buf 2020-10-21 16:00:15 +00:00
teken Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00
tests Add small tool to invoke kernel test framework tests. 2020-09-02 09:20:40 +00:00
tools Brand our DTS with the Linux version it was imported from 2020-10-10 07:18:51 +00:00
ufs vmapbuf: don't smuggle address or length in buf 2020-10-21 16:00:15 +00:00
vm uma: fix KTR message after r366840 2020-10-19 18:54:44 +00:00
x86 Assign the reserved apic region (GAS entry) to the iommu domain msi_entry. 2020-10-19 15:50:58 +00:00
xdr xdr: clean up empty lines in .c and .h files 2020-09-01 22:13:28 +00:00
xen xen: clean up empty lines in .c and .h files 2020-09-01 21:21:55 +00:00
Makefile