DTrace aarch64: Avoid calling unwind_frame() in the probe context.unwind_frame() may be instrumented by FBT, leading to recursion intodtrace_probe(). Manually inline unwind_frame() as we do with s
DTrace aarch64: Avoid calling unwind_frame() in the probe context.unwind_frame() may be instrumented by FBT, leading to recursion intodtrace_probe(). Manually inline unwind_frame() as we do with stackunwinding code for other architectures.Submitted by: Domagoj StolfaReviewed by: manuMFC after: 1 weekSponsored by: DARPA / AFRLDifferential Revision: https://reviews.freebsd.org/D15359
show more ...
Rename assym.s to assym.incassym is only to be included by other .s files, and should neveractually be assembled by itself.Reviewed by: imp, bdrewery (earlier)Sponsored by: The FreeBSD Foundati
Rename assym.s to assym.incassym is only to be included by other .s files, and should neveractually be assembled by itself.Reviewed by: imp, bdrewery (earlier)Sponsored by: The FreeBSD FoundationDifferential Revision: https://reviews.freebsd.org/D14180
Corrected misspelled versions of rendezvous.The MFC will include a compat definition of smp_no_rendevous_barrier()that calls smp_no_rendezvous_barrier().Reviewed by: gnn, kibMFC after: 1 weekD
Corrected misspelled versions of rendezvous.The MFC will include a compat definition of smp_no_rendevous_barrier()that calls smp_no_rendezvous_barrier().Reviewed by: gnn, kibMFC after: 1 weekDifferential Revision: https://reviews.freebsd.org/D10313
Fix improper use of "its".Sponsored by: Dell EMC Isilon
Set oldfp so the check for fp == oldfp works as expected.Obtained from: ABT Systems LtdSponsored by: The FreeBSD Foundation
Fix dtrace_interrupt_disable and dtrace_interrupt_enable by having theformer return the current status for the latter to use. Without this wecould enable interrupts when they shouldn't be.It's st
Fix dtrace_interrupt_disable and dtrace_interrupt_enable by having theformer return the current status for the latter to use. Without this wecould enable interrupts when they shouldn't be.It's still not quite right as it should only update the bits we care about,bit should be good enough until the correct fix can be tested.PR: 204270Obtained from: ABT Systems LtdSponsored by: The FreeBSD Foundation
Try to unbreak the build after r300611 by including the headerdefining VM_MIN_KERNEL_ADDRESS.Sponsored by: DARPA/AFRL
Mark all memory before the kernel as toxic to DTrace.Obtained from: ABT Systems LtdSponsored by: The FreeBSD Foundation
Make the second argument of dtrace_invop() a trapframe pointer.Currently this argument is a pointer into the stack which is used by FBTto fetch the first five probe arguments. On all non-x86 archi
Make the second argument of dtrace_invop() a trapframe pointer.Currently this argument is a pointer into the stack which is used by FBTto fetch the first five probe arguments. On all non-x86 architectures it'ssimply the trapframe address, so this change has no functional impact. Onamd64 it's a pointer into the trapframe such that stack[1 .. 5] gives thefirst five argument registers, which are deliberately grouped together inthe amd64 trapframe definition.A trapframe argument simplifies the invop handlers on !x86 and makes thex86 FBT invop handler easier to understand. Moreover, it allows for invophandlers that may want to modify the register set of the interrupted thread.
Implement dtrace_getupcstack in ARM64Allow using DTRACE for performance analysis of userspaceapplications - the function call stack can be captured.This is almost an exact copy of AMD64 solution.
Implement dtrace_getupcstack in ARM64Allow using DTRACE for performance analysis of userspaceapplications - the function call stack can be captured.This is almost an exact copy of AMD64 solution.Obtained from: SemihalfSponsored by: CaviumReviewed by: emaste, gnn, jhibbitsDifferential Revision: https://reviews.freebsd.org/D5779
Remove unused variables dtrace_in_probe and dtrace_in_probe_addr.
As <machine/vmparam.h> is included from <vm/vm_param.h>, there is noneed to include it explicitly when <vm/vm_param.h> is already included.Suggested by: alcReviewed by: alcDifferential Revision:
As <machine/vmparam.h> is included from <vm/vm_param.h>, there is noneed to include it explicitly when <vm/vm_param.h> is already included.Suggested by: alcReviewed by: alcDifferential Revision: https://reviews.freebsd.org/D5379
First cut of DTrace for AArch64.Reviewed by: andrew, emasteSponsored by: ARM LimitedDifferential Revision: https://reviews.freebsd.org/D2738