cccf0c2ee5
- Add new feature to have function graph tracer record the return value. Adds a new option: funcgraph-retval ; when set, will show the return value of a function in the function graph tracer. - Also add the option: funcgraph-retval-hex where if it is not set, and the return value is an error code, then it will return the decimal of the error code, otherwise it still reports the hex value. - Add the file /sys/kernel/tracing/osnoise/per_cpu/cpu<cpu>/timerlat_fd That when a application opens it, it becomes the task that the timer lat tracer traces. The application can also read this file to find out how it's being interrupted. - Add the file /sys/kernel/tracing/available_filter_functions_addrs that works just the same as available_filter_functions but also shows the addresses of the functions like kallsyms, except that it gives the address of where the fentry/mcount jump/nop is. This is used by BPF to make it easier to attach BPF programs to ftrace hooks. - Replace strlcpy with strscpy in the tracing boot code. -----BEGIN PGP SIGNATURE----- iIoEABYIADIWIQRRSw7ePDh/lE+zeZMp5XQQmuv6qgUCZJy6ixQccm9zdGVkdEBn b29kbWlzLm9yZwAKCRAp5XQQmuv6qnzRAPsEI2YgjaJSHnuPoGRHbrNil6pq66wY LYaLizGI4Jv9BwEAqdSdcYcMiWo1SFBAO8QxEDM++BX3zrRyVgW8ahaTNgs= =TF0C -----END PGP SIGNATURE----- Merge tag 'trace-v6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace Pull tracing updates from Steven Rostedt: - Add new feature to have function graph tracer record the return value. Adds a new option: funcgraph-retval ; when set, will show the return value of a function in the function graph tracer. - Also add the option: funcgraph-retval-hex where if it is not set, and the return value is an error code, then it will return the decimal of the error code, otherwise it still reports the hex value. - Add the file /sys/kernel/tracing/osnoise/per_cpu/cpu<cpu>/timerlat_fd That when a application opens it, it becomes the task that the timer lat tracer traces. The application can also read this file to find out how it's being interrupted. - Add the file /sys/kernel/tracing/available_filter_functions_addrs that works just the same as available_filter_functions but also shows the addresses of the functions like kallsyms, except that it gives the address of where the fentry/mcount jump/nop is. This is used by BPF to make it easier to attach BPF programs to ftrace hooks. - Replace strlcpy with strscpy in the tracing boot code. * tag 'trace-v6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace: tracing: Fix warnings when building htmldocs for function graph retval riscv: ftrace: Enable HAVE_FUNCTION_GRAPH_RETVAL tracing/boot: Replace strlcpy with strscpy tracing/timerlat: Add user-space interface tracing/osnoise: Skip running osnoise if all instances are off tracing/osnoise: Switch from PF_NO_SETAFFINITY to migrate_disable ftrace: Show all functions with addresses in available_filter_functions_addrs selftests/ftrace: Add funcgraph-retval test case LoongArch: ftrace: Enable HAVE_FUNCTION_GRAPH_RETVAL x86/ftrace: Enable HAVE_FUNCTION_GRAPH_RETVAL arm64: ftrace: Enable HAVE_FUNCTION_GRAPH_RETVAL tracing: Add documentation for funcgraph-retval and funcgraph-retval-hex function_graph: Support recording and printing the return value of function fgraph: Add declaration of "struct fgraph_ret_regs" |
||
---|---|---|
.. | ||
vdso | ||
acenv.h | ||
acpi.h | ||
addrspace.h | ||
alternative-asm.h | ||
alternative.h | ||
asm-extable.h | ||
asm-offsets.h | ||
asm-prototypes.h | ||
asm.h | ||
asmmacro.h | ||
atomic.h | ||
barrier.h | ||
bitops.h | ||
bitrev.h | ||
bootinfo.h | ||
branch.h | ||
bug.h | ||
cache.h | ||
cacheflush.h | ||
cacheops.h | ||
checksum.h | ||
clocksource.h | ||
cmpxchg.h | ||
cpu-features.h | ||
cpu-info.h | ||
cpu.h | ||
cpufeature.h | ||
delay.h | ||
dma-direct.h | ||
dma.h | ||
dmi.h | ||
efi.h | ||
elf.h | ||
entry-common.h | ||
exec.h | ||
extable.h | ||
fb.h | ||
fixmap.h | ||
fpregdef.h | ||
fpu.h | ||
ftrace.h | ||
futex.h | ||
gpr-num.h | ||
hardirq.h | ||
hugetlb.h | ||
hw_breakpoint.h | ||
hw_irq.h | ||
idle.h | ||
inst.h | ||
io.h | ||
irq_regs.h | ||
irq.h | ||
irqflags.h | ||
jump_label.h | ||
Kbuild | ||
kdebug.h | ||
kexec.h | ||
kprobes.h | ||
linkage.h | ||
local.h | ||
loongarch.h | ||
loongson.h | ||
mmu_context.h | ||
mmu.h | ||
mmzone.h | ||
module.h | ||
module.lds.h | ||
numa.h | ||
page.h | ||
pci.h | ||
percpu.h | ||
perf_event.h | ||
pgalloc.h | ||
pgtable-bits.h | ||
pgtable.h | ||
prefetch.h | ||
processor.h | ||
ptrace.h | ||
qspinlock.h | ||
regdef.h | ||
seccomp.h | ||
serial.h | ||
setup.h | ||
shmparam.h | ||
smp.h | ||
sparsemem.h | ||
spinlock_types.h | ||
spinlock.h | ||
stackframe.h | ||
stackprotector.h | ||
stacktrace.h | ||
string.h | ||
suspend.h | ||
switch_to.h | ||
syscall.h | ||
thread_info.h | ||
time.h | ||
timex.h | ||
tlb.h | ||
tlbflush.h | ||
topology.h | ||
types.h | ||
uaccess.h | ||
unistd.h | ||
unwind.h | ||
uprobes.h | ||
vdso.h | ||
vermagic.h | ||
vmalloc.h |