aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace
AgeCommit message (Expand)AuthorFilesLines
2025-06-18fgraph: Do not enable function_graph tracer when setting funcgraph-argsSteven Rostedt1-0/+6
2025-06-10tracing: Do not free "head" on error path of filter_free_subsystem_filters()Steven Rostedt1-3/+1
2025-06-08Merge tag 'trace-v6.16-3' of git://git.kernel.org/pub/scm/linux/kernel/git/tr...Linus Torvalds2-53/+143
2025-06-07tracing: Add rcu annotation around file->filter accessesSteven Rostedt1-4/+6
2025-06-06Merge tag 'riscv-for-linus-6.16-mw1' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-1/+1
2025-06-06ring-buffer: Fix buffer locking in ring_buffer_subbuf_order_set()Dmitry Antipov1-3/+1
2025-06-06tracing: Fix regression of filter waiting a long time on RCU synchronizationSteven Rostedt1-48/+138
2025-06-05Merge tag 'riscv-mw2-6.16-rc1' of ssh://gitolite.kernel.org/pub/scm/linux/ker...Palmer Dabbelt3-6/+9
2025-06-05kernel: ftrace: export ftrace_sync_ipiAndy Chiu1-1/+1
2025-06-02ftrace: Don't allocate ftrace module map if ftrace is disabledYe Bin1-0/+3
2025-06-02ftrace: Fix UAF when lookup kallsym after ftrace disabledYe Bin1-3/+7
2025-05-30Merge tag 'trace-ringbuffer-v6.16' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds2-105/+134
2025-05-30Merge tag 'pull-automount' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-4/+15
2025-05-29Merge tag 'trace-v6.16' of git://git.kernel.org/pub/scm/linux/kernel/git/trac...Linus Torvalds20-260/+574
2025-05-29ring-buffer: Simplify functions with __free(kfree) to free allocationsSteven Rostedt1-18/+9
2025-05-29ring-buffer: Make ring_buffer_{un}map() simpler with guard(mutex)Steven Rostedt1-24/+11
2025-05-29ring-buffer: Simplify ring_buffer_read_page() with guard()Steven Rostedt1-17/+11
2025-05-29ring-buffer: Simplify reset_disabled_cpu_buffer() with use of guard()Steven Rostedt1-7/+2
2025-05-29ring-buffer: Remove jump to out label in ring_buffer_swap_cpu()Steven Rostedt1-14/+9
2025-05-29ring-buffer: Removed unnecessary if() goto out where out is the next lineSteven Rostedt1-4/+1
2025-05-29tracing: Reset last-boot buffers when reading out all cpu buffersMasami Hiramatsu (Google)1-0/+22
2025-05-29ring-buffer: Allow reserve_mem persistent ring buffers to be mmappedSteven Rostedt2-8/+45
2025-05-29ring-buffer: Do not trigger WARN_ON() due to a commit_overrunSteven Rostedt1-8/+18
2025-05-28Merge tag 'bpf-next-6.16' of git://git.kernel.org/pub/scm/linux/kernel/git/bp...Linus Torvalds2-111/+212
2025-05-28tracing: Fix compilation warning on arm32Pan Taixi1-1/+1
2025-05-27Merge tag 'sysctl-6.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds2-2/+56
2025-05-27ring-buffer: Move cpus_read_lock() outside of buffer->mutexSteven Rostedt1-5/+6
2025-05-26Merge tag 'for-6.16/block-20250523' of git://git.kernel.dk/linuxLinus Torvalds1-9/+2
2025-05-23bpf: Fix error return value in bpf_copy_from_user_dynptrMykyta Yatsenko1-2/+6
2025-05-23traceevent/block: Add REQ_ATOMIC flag to block trace eventsRitesh Harjani (IBM)1-0/+2
2025-05-22bpf: Revert "bpf: remove unnecessary rcu_read_{lock,unlock}() in multi-uprobe...Di Shen1-0/+2
2025-05-14Merge tag 'trace-v6.15-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds3-9/+7
2025-05-14ring-buffer: Fix persistent buffer when commit page is the reader pageSteven Rostedt1-3/+5
2025-05-14ftrace: Fix preemption accounting for stacktrace filter commandpengdonglin1-5/+1
2025-05-14ftrace: Fix preemption accounting for stacktrace trigger commandpengdonglin1-1/+1
2025-05-14tracing: Record trace_clock and recover when rebootMasami Hiramatsu (Google)1-0/+17
2025-05-14tracing: Cleanup upper_empty() in pid_listYury Norov1-6/+2
2025-05-13bpf: Fix WARN() in get_bpf_raw_tp_regsTao Chen1-1/+1
2025-05-13tracing: probes: Fix a possible race in trace_probe_log APIsMasami Hiramatsu (Google)5-3/+27
2025-05-12bpf: Implement dynptr copy kfuncsMykyta Yatsenko1-0/+194
2025-05-10tracing: add missing trace_probe_log_clear for eprobesPaul Cacheux1-0/+3
2025-05-10tracing: fprobe: Fix RCU warning message in list traversalBreno Leitao1-1/+2
2025-05-09bpf: Add support to retrieve ref_ctr_offset for uprobe perf linkJiri Olsa1-1/+1
2025-05-09tracing: Allow the top level trace_marker to write into another instancesSteven Rostedt2-31/+115
2025-05-09tracing: Add a helper function to handle the dereference arg in verifierSteven Rostedt1-10/+20
2025-05-09tracing: Remove unnecessary "goto out" that simply returns ret is trigger codeSteven Rostedt1-27/+17
2025-05-09tracing: Fix error handling in event_trigger_parse()Miaoqian Lin1-2/+2
2025-05-09tracing: Rename event_trigger_alloc() to trigger_data_alloc()Steven Rostedt3-14/+12
2025-05-09tracing: Replace deprecated strncpy() with strscpy() for stack_trace_filter_bufDevaansh Kumar1-1/+1
2025-05-09tracing: Remove unused buffer_page field from trace_array_cpu structureSteven Rostedt1-1/+0
2025-05-09tracing: Use atomic_inc_return() for updating "disabled" counter in irqsoff t...Steven Rostedt1-11/+18
2025-05-09tracing: Convert the per CPU "disabled" counter to local from atomicSteven Rostedt4-25/+25
2025-05-09tracing: branch: Use trace_tracing_is_on_cpu() instead of "disabled" fieldSteven Rostedt1-3/+1
2025-05-09ring-buffer: Add ring_buffer_record_is_on_cpu()Steven Rostedt2-0/+33
2025-05-09tracing: Do not use per CPU array_buffer.data->disabled for cpumaskSteven Rostedt1-2/+0
2025-05-09ftrace: Do not disabled function graph based on "disabled" fieldSteven Rostedt1-29/+9
2025-05-09tracing: kdb: Use tracer_tracing_on/off() instead of setting per CPU disabledSteven Rostedt1-7/+2
2025-05-09tracing: Use tracer_tracing_disable() instead of "disabled" field for ftrace_...Steven Rostedt1-7/+4
2025-05-09tracing: Add tracer_tracing_disable/enable() functionsSteven Rostedt2-0/+35
2025-05-09bpf: Allow some trace helpers for all prog typesFeng Yang1-37/+4
2025-05-08tracing: Just use this_cpu_read() to access ignore_pidSteven Rostedt1-4/+5
2025-05-08ftrace: Do not bother checking per CPU "disabled" flagSteven Rostedt1-13/+3
2025-05-08tracing/mmiotrace: Remove reference to unused per CPU data pointerSteven Rostedt1-10/+2
2025-05-08tracing/osnoise: Allow arbitrarily long CPU stringTomas Glozar1-4/+5
2025-05-08ftrace: Comment that ftrace_func_mapper is freed with free_ftrace_hash()Steven Rostedt1-1/+6
2025-05-08ftrace: Expose call graph depth as unsigned intIlya Leoshkevich1-6/+6
2025-05-08ftrace: Show subops in enabled_functionsSteven Rostedt2-0/+40
2025-05-06kill vfs_submount()Al Viro1-3/+16
2025-05-06tracing: Add common_comm to histogramsSteven Rostedt1-9/+42
2025-05-06tracing: Move histogram trigger variables from stack to per CPU structureSteven Rostedt1-15/+105
2025-05-06tracing: Always use memcpy() in histogram add_to_key()Steven Rostedt1-4/+2
2025-05-06tracing: Show preempt and irq events callsites from the offsets in field printSteven Rostedt1-0/+11
2025-05-06tracing: Adjust addresses for printing out fieldsSteven Rostedt1-17/+21
2025-05-06tracing: Only return an adjusted address if it matches the kernel addressSteven Rostedt1-1/+4
2025-05-06tracing: Show function names when possible when listing fieldsSteven Rostedt1-6/+16
2025-05-06tracing: Update function trace addresses with module addressesSteven Rostedt1-8/+7
2025-05-05block: remove bounce buffering supportChristoph Hellwig1-9/+0
2025-05-05saner calling conventions for ->d_automount()Al Viro1-2/+0
2025-05-01tracing: Do not take trace_event_sem in print_event_fields()Steven Rostedt1-2/+2
2025-05-01tracing: Fix trace_adjust_address() when there is no modules in scratch areaSteven Rostedt1-1/+3
2025-05-01ftrace: Fix NULL memory allocation checkColin Ian King1-1/+1
2025-05-01tracing: Fix oob write in trace_seq_to_buffer()Jeongjun Park1-2/+3
2025-04-23bpf: Streamline allowed helpers between tracing and base setsFeng Yang1-72/+0
2025-04-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf after rc3Alexei Starovoitov9-185/+382
2025-04-17tracing: Fix filter string testingSteven Rostedt1-2/+2
2025-04-17ftrace: Fix type of ftrace_graph_ent_entry.depthIlya Leoshkevich1-2/+2
2025-04-17ftrace: fix incorrect hash size in register_ftrace_direct()Menglong Dong1-3/+4
2025-04-17ftrace: Free ftrace hashes after they are replaced in the subops codeSteven Rostedt1-1/+7
2025-04-17ftrace: Reinitialize hash to EMPTY_HASH after freeingSteven Rostedt1-0/+4
2025-04-17ftrace: Initialize variables for ftrace_startup/shutdown_subops()Steven Rostedt1-4/+4
2025-04-12Merge tag 'trace-v6.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds5-145/+195
2025-04-12rv: Fix out-of-bound memory access in rv_is_container_monitor()Nam Cao1-1/+6
2025-04-12ftrace: Do not have print_graph_retval() add a newlineSteven Rostedt1-6/+5
2025-04-11ftrace: Fix accounting of subop hashesSteven Rostedt1-137/+177
2025-04-11ftrace: Properly merge notrace hashesAndy Chiu1-4/+4
2025-04-09bpf: Check link_create.flags parameter for multi_uprobeTao Chen1-0/+3
2025-04-09bpf: Check link_create.flags parameter for multi_kprobeTao Chen1-0/+3
2025-04-09tracing: Do not add length to print format in synthetic eventsSteven Rostedt1-1/+0
2025-04-09stack_tracer: move sysctl registration to kernel/trace/trace_stack.cJoel Granados1-1/+21
2025-04-09tracing: Move trace sysctls into trace.cJoel Granados1-1/+35
2025-04-08Merge tag 'probes-fixes-v6.14' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds2-30/+166
2025-04-08tracing: fprobe: Cleanup fprobe hash when module unloadingMasami Hiramatsu (Google)1-2/+101
2025-04-07tracing: Hide get_vm_area() from MMUless buildsSteven Rostedt1-0/+7
2025-04-03Merge tag 'trace-ringbuffer-v6.15-3' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds3-26/+46
2025-04-03Merge tag 'trace-v6.15-2' of git://git.kernel.org/pub/scm/linux/kernel/git/tr...Linus Torvalds5-3/+12
2025-04-02Merge tag 'printk-for-6.15-2' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds2-15/+12
2025-04-02ring-buffer: Use flush_kernel_vmap_range() over flush_dcache_folio()Steven Rostedt1-2/+3
2025-04-02tracing: Use vmap_page_range() to map memmap ring bufferSteven Rostedt1-17/+16
2025-04-02tracing: Have reserve_mem use phys_to_virt() and separate from memmap bufferSteven Rostedt2-7/+17
2025-04-02tracing: Enforce the persistent ring buffer to be page alignedSteven Rostedt1-0/+10
2025-04-02tracing: fprobe events: Fix possible UAF on modulesMasami Hiramatsu (Google)1-9/+17
2025-04-02tracing: fprobe: Fix to lock module while registering fprobeMasami Hiramatsu (Google)1-19/+48
2025-04-02rv: Fix missing unlock on double nested monitors return pathGabriele Monaco1-1/+2
2025-04-02tracing: Verify event formats that have "%*p.."Steven Rostedt1-0/+7
2025-04-02ftrace: Add cond_resched() to ftrace_graph_set_hash()zhoumin1-0/+1
2025-04-02tracing: Free module_delta on freeing of persistent ring bufferSteven Rostedt1-0/+1
2025-04-02ftrace: Have tracing function args depend on PROBE_EVENTS_BTF_ARGSSteven Rostedt1-2/+1
2025-03-31Merge tag 'trace-ringbuffer-v6.15-2' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds5-143/+561
2025-03-30Merge tag 'modules-6.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds2-17/+16
2025-03-30Merge tag 'bpf-next-6.15' of git://git.kernel.org/pub/scm/linux/kernel/git/bp...Linus Torvalds1-4/+10
2025-03-28tracing: Use _text and the kernel offset in last_boot_infoSteven Rostedt1-12/+6
2025-03-28tracing: Show last module text symbols in the stacktraceMasami Hiramatsu (Google)3-7/+138
2025-03-28ring-buffer: Remove the unused variable bmetaJiapeng Chong1-3/+0
2025-03-28tracing: Skip update_last_data() if cleared and remove active check for save_...Masami Hiramatsu (Google)1-18/+8
2025-03-28tracing: Initialize scratch_size to zero to prevent UBSteven Rostedt1-1/+1
2025-03-28tracing: Fix a compilation error without CONFIG_MODULESMasami Hiramatsu (Google)1-0/+7
2025-03-28tracing: Freeable reserved ring bufferMasami Hiramatsu (Google)2-1/+13
2025-03-28tracing: Update modules to persistent instances when loadedSteven Rostedt3-12/+57
2025-03-28tracing: Show module names and addresses of last bootSteven Rostedt1-13/+89
2025-03-28tracing: Have persistent trace instances save module addressesSteven Rostedt1-9/+89
2025-03-28tracing: Have persistent trace instances save KASLR offsetSteven Rostedt3-56/+46
2025-03-28ring-buffer: Add ring_buffer_meta_scratch()Steven Rostedt2-7/+30
2025-03-28ring-buffer: Add buffer meta data for persistent ring bufferSteven Rostedt1-52/+119
2025-03-28ring-buffer: Use kaslr address instead of text deltaSteven Rostedt3-32/+38
2025-03-28ring-buffer: Fix bytes_dropped calculation issueFeng Yang1-2/+2
2025-03-28tracing: Mark binary printing functions with __printf() attributeAndy Shevchenko2-15/+12
2025-03-27Merge tag 'probes-v6.15' of git://git.kernel.org/pub/scm/linux/kernel/git/tra...Linus Torvalds6-4/+46
2025-03-27Merge tag 'trace-v6.15' of git://git.kernel.org/pub/scm/linux/kernel/git/trac...Linus Torvalds10-46/+87
2025-03-27Merge tag 'trace-latency-v6.15' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds40-67/+1273
2025-03-27Merge tag 'ftrace-v6.15' of git://git.kernel.org/pub/scm/linux/kernel/git/tra...Linus Torvalds12-74/+346
2025-03-27Merge tag 'trace-sorttable-v6.15' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-5/+50
2025-03-27tracing: probe-events: Add comments about entry data storing codeMasami Hiramatsu (Google)1-0/+28
2025-03-27tracing: probe-events: Log error for exceeding the number of argumentsMasami Hiramatsu (Google)5-4/+18
2025-03-25Merge tag 'lsm-pr-20250323' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-2/+2
2025-03-25tracing: Replace strncpy with memcpy for fixed-length substring copySiddarth G1-1/+1
2025-03-25tracing: Fix synth event printk format for str fieldsDouglas Raillard1-1/+1
2025-03-25Merge tag 'timers-cleanups-2025-03-23' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-4/+2
2025-03-24Merge tag 'x86-core-2025-03-22' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-17/+4
2025-03-24Merge tag 'sched-core-2025-03-22' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-6/+1
2025-03-24Merge tag 'rcu-next-v6.15' of git://git.kernel.org/pub/scm/linux/kernel/git/r...Linus Torvalds1-17/+15
2025-03-24rv: Add scpd, snep and sncid per-cpu monitorsGabriele Monaco15-0/+534
2025-03-24rv: Add snroc per-task monitorGabriele Monaco7-0/+164
2025-03-24rv: Add sco and tss per-cpu monitorsGabriele Monaco11-0/+337
2025-03-24rv: Add option for nested monitors and include schedGabriele Monaco10-28/+216
2025-03-24tracing: Do not use PERF enums when perf is not definedSteven Rostedt1-2/+6
2025-03-23tracing: Use hashtable.h for event_hashSasha Levin1-12/+7
2025-03-23tracing: Ensure module defining synth event cannot be unloaded while tracingDouglas Raillard1-1/+29
2025-03-23tracing: fix return value in __ftrace_event_enable_disable for TRACE_REG_UNRE...Gabriele Paoloni1-1/+3
2025-03-23tracing/osnoise: Fix possible recursive locking for cpus_read_lock()Ran Xiaokai1-1/+0
2025-03-23tracing: Align synth event print fmtDouglas Raillard1-1/+1
2025-03-22tracing: Fix use-after-free in print_graph_function_flags during tracer switc...Tengda Wu3-4/+1
2025-03-20tracing: Constify struct event_trigger_opsChristophe JAILLET4-34/+34
2025-03-19Merge tag 'v6.14-rc7' into x86/core, to pick up fixesIngo Molnar3-8/+41
2025-03-18bpf: Make perf_event_read_output accessible in all program types.Emil Tsalapatis1-0/+5
2025-03-17Merge tag 'probes-fixes-v6.14-rc6' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-16/+14
2025-03-17tracing: Use preempt_model_str()Sebastian Andrzej Siewior1-6/+1
2025-03-16Merge tag 'trace-v6.14-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-6/+18
2025-03-15tracing: tprobe-events: Fix leakage of module refcountMasami Hiramatsu (Google)1-13/+8
2025-03-15tracing: tprobe-events: Fix to clean up tprobe correctly when module unloadMasami Hiramatsu (Google)1-3/+6
2025-03-14tracing: Correct the refcount if the hist/hist_debug file fails to openTengda Wu1-6/+18
2025-03-10bpf: Use RCU in all users of __module_text_address().Sebastian Andrzej Siewior1-11/+13
2025-03-10module: Use RCU in find_module_all().Sebastian Andrzej Siewior1-6/+3
2025-03-07function_graph: Remove the unused variable funcJiapeng Chong1-3/+0
2025-03-06tracing/user_events: Slightly simplify user_seq_show()Christophe JAILLET1-4/+1
2025-03-06tracing/user_events: Don't use %pK through printkThomas Weißschuh1-1/+1
2025-03-06ring-buffer: Fix typo in comment about header page pointerZhouyi Zhou1-1/+1
2025-03-04osnoise: provide quiescent statesAnkur Arora1-17/+15
2025-03-04rv: Add license identifiers to monitor filesGabriele Monaco4-0/+6
2025-03-04ftrace: Add arguments to function tracerSven Schnelle7-18/+85
2025-03-04ftrace: Have funcgraph-args take affect during tracingSteven Rostedt1-1/+26
2025-03-04ftrace: Add support for function argument to graph tracerSven Schnelle4-35/+124
2025-03-04ftrace: Add print_function_args()Sven Schnelle3-0/+100
2025-03-04ftrace: Have ftrace_free_filter() WARN and exit if ops is activeSteven Rostedt1-0/+2
2025-03-04fgraph: Correct typo in ftrace_return_to_handler commentHaiyue Wang1-1/+1
2025-03-03Merge tag 'v6.14-rc5' into x86/core, to pick up fixesIngo Molnar5-54/+68
2025-03-03Merge tag 'probes-fixes-v6.14-rc4' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds2-2/+23
2025-03-03tracing: probe-events: Remove unused MAX_ARG_BUF_LEN macroMasami Hiramatsu (Google)1-1/+0
2025-02-27ftrace: Avoid potential division by zero in function_stat_show()Nikolay Kuratov1-15/+12
2025-02-27tracing: Fix bad hist from corrupting named_triggers listSteven Rostedt1-15/+15
2025-02-26trace/osnoise: Add trace events for samplesTomas Glozar1-39/+16
2025-02-27tracing: fprobe-events: Log error for exceeding the number of entry argsMasami Hiramatsu (Google)2-1/+7
2025-02-27tracing: tprobe-events: Reject invalid tracepoint nameMasami Hiramatsu (Google)2-0/+14
2025-02-27tracing: tprobe-events: Fix a memory leak when tprobe with $retvalMasami Hiramatsu (Google)1-0/+2
2025-02-26perf: Remove unnecessary parameter of security checkLuo Gengkun1-2/+2
2025-02-26bpf: Fix deadlock between rcu_tasks_trace and event_mutex.Alexei Starovoitov1-3/+4
2025-02-25tracing: Add traceoff_after_boot optionSteven Rostedt1-0/+11
2025-02-25ftrace: Check against is_kernel_text() instead of kaslr_offset()Steven Rostedt1-5/+12
2025-02-25ftrace: Test mcount_loc addr before calling ftrace_call_addr()Steven Rostedt1-1/+5
2025-02-21tracing: Fix memory leak when reading set_event fileAdrian Huang1-2/+9
2025-02-21ftrace: Correct preemption accounting for function tracing.Sebastian Andrzej Siewior1-4/+2