aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace.c
AgeCommit message (Expand)AuthorFilesLines
2024-11-01tracing: Document tracefs gid mount optionKalesh Singh1-0/+4
2024-10-14ring-buffer: Fix refcount setting of boot mapped buffersSteven Rostedt1-3/+3
2024-10-03tracing: Fix trace_check_vprintf() when tp_printk is usedSteven Rostedt1-2/+13
2024-09-27[tree-wide] finally take no_llseek outAl Viro1-3/+0
2024-09-22Merge tag 'trace-ring-buffer-v6.12' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-34/+338
2024-09-09tracing: Drop unused helper function to fix the buildAndy Shevchenko1-4/+0
2024-09-05tracing: Avoid possible softlockup in tracing_iter_reset()Zheng Yejian1-0/+2
2024-08-26tracing: Add option to set an instance to be the trace_printk destinationSteven Rostedt1-5/+35
2024-08-26tracing: Have trace_printk not use binary prints if boot bufferSteven Rostedt1-15/+29
2024-08-26tracing: Allow trace_printk() to go to other instance buffersSteven Rostedt1-11/+35
2024-08-26tracing: Add "traceoff" flag to boot time tracing instancesSteven Rostedt1-1/+30
2024-08-15tracing: Allow boot instances to use reserve_mem boot memorySteven Rostedt (Google)1-8/+15
2024-08-14tracing: Fix ifdef of snapshots to not prevent last_boot_info fileSteven Rostedt1-2/+2
2024-08-14Merge tag 'v6.11-rc3' into trace/ring-buffer/coreSteven Rostedt1-1/+1
2024-08-09tracing: Return from tracing_buffers_read() if the file has been closedSteven Rostedt1-1/+1
2024-07-24sysctl: treewide: constify the ctl_table argument of proc_handlersJoel Granados1-1/+1
2024-07-15tracing: Fix NULL vs IS_ERR() check in enable_instances()Dan Carpenter1-1/+1
2024-06-14tracing: Handle old buffer mappings for event strings and functionsSteven Rostedt (Google)1-3/+39
2024-06-14tracing/ring-buffer: Add last_boot_info file to boot instanceSteven Rostedt (Google)1-1/+46
2024-06-14tracing: Add option to use memmapped memory for trace boot instanceSteven Rostedt (Google)1-6/+69
2024-06-14ring-buffer: Add output of ring buffer meta pageSteven Rostedt (Google)1-2/+28
2024-06-14tracing: Implement creating an instance based on a given memory regionSteven Rostedt (Google)1-10/+40
2024-05-17Merge tag 'trace-ringbuffer-v6.10' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-5/+99
2024-05-13tracing: Allow user-space mapping of the ring-bufferVincent Donnefort1-5/+99
2024-05-01tracing/probes: support '%pD' type for print struct file's nameYe Bin1-1/+1
2024-05-01tracing/probes: support '%pd' type for print struct dentry's nameYe Bin1-1/+1
2024-03-18tracing: Support to dump instance traces by ftrace_dump_on_oopsHuang Yiwei1-40/+116
2024-03-18tracing: Fix snapshot counter going between two tracers that use itSteven Rostedt (Google)1-1/+1
2024-03-18tracing: Use init_utsname()->releaseJohn Garry1-2/+2
2024-03-18tracing: Add snapshot refcountVincent Donnefort1-17/+82
2024-03-17tracing: Move saved_cmdline code into trace_sched_switch.cSteven Rostedt (Google)1-512/+3
2024-03-17tracing: Move open coded processing of tgid_map into helper functionSteven Rostedt (Google)1-15/+23
2024-03-17tracing: Have saved_cmdlines arrays all in one allocationSteven Rostedt (Google)1-10/+8
2024-03-14Merge tag 'trace-ring-buffer-v6.8-rc7-2' of git://git.kernel.org/pub/scm/linu...Linus Torvalds1-12/+31
2024-03-14Merge tag 'probes-v6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/trac...Linus Torvalds1-3/+2
2024-03-12tracing/ring-buffer: Fix wait_on_pipe() raceSteven Rostedt (Google)1-12/+31
2024-03-10tracing: Use .flush() call to wake up readersSteven Rostedt (Google)1-6/+15
2024-03-06tracing: Limit trace_marker writes to just 4KSteven Rostedt (Google)1-5/+5
2024-03-07tracing/probes: Support $argN in return probe (kprobe and fprobe)Masami Hiramatsu (Google)1-0/+1
2024-03-07tracing: Remove redundant #else block for BTF args from READMEMasami Hiramatsu (Google)1-3/+1
2024-02-14tracing: Inform kmemleak of saved_cmdlines allocationSteven Rostedt (Google)1-0/+3
2024-02-13tracing: Use ring_buffer_record_is_set_on() in tracer_tracing_is_on()Sven Schnelle1-1/+1
2024-02-09tracing: Fix wasted memory in saved_cmdlines logicSteven Rostedt (Google)1-38/+37
2024-01-18Merge tag 'trace-v6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...Linus Torvalds1-38/+196
2023-12-29tracing: Fix blocked reader of snapshot bufferSteven Rostedt (Google)1-3/+17
2023-12-21tracing: Update subbuffer with kilobytes not page orderSteven Rostedt (Google)1-13/+25
2023-12-21tracing: Stop the tracing while changing the ring buffer subbuf sizeSteven Rostedt (Google)1-3/+10
2023-12-21tracing: Update snapshot order along with main buffer orderSteven Rostedt (Google)1-2/+43
2023-12-21ring-buffer: Make sure the spare sub buffer used for reads has same sizeSteven Rostedt (Google)1-0/+11
2023-12-20ring-buffer: Read and write to ring buffers with custom sub buffer sizeTzvetomir Stoyanov (VMware)1-14/+20
2023-12-20ring-buffer: Add interface for configuring trace sub buffer sizeTzvetomir Stoyanov (VMware)1-0/+48
2023-12-20ring-buffer: Page size per ring bufferTzvetomir Stoyanov (VMware)1-1/+1
2023-12-18tracing: Increase size of trace_marker_raw to max ring buffer entrySteven Rostedt (Google)1-9/+5
2023-12-18tracing: Have trace_marker break up by lines by size of trace_seqSteven Rostedt (Google)1-0/+5
2023-12-18trace_seq: Increase the buffer size to almost two pagesSteven Rostedt (Google)1-3/+3
2023-12-18tracing: Allow for max buffer data size trace_marker writesSteven Rostedt (Google)1-7/+24
2023-12-18tracing: Allow creating instances with specified system eventsSteven Rostedt (Google)1-4/+19
2023-12-13tracing: Fix uaf issue when open the hist or hist_debug fileZheng Yejian1-0/+6
2023-12-12tracing: Update snapshot buffer on resize if it is allocatedSteven Rostedt (Google)1-2/+2
2023-12-12tracing: Have large events show up as '[LINE TOO BIG]' instead of nothingSteven Rostedt (Google)1-1/+5
2023-12-05tracing: Fix a possible race when disabling buffered eventsPetr Pavlu1-4/+8
2023-12-05tracing: Fix a warning when allocating buffered events failsPetr Pavlu1-6/+5
2023-12-05tracing: Fix incomplete locking when disabling buffered eventsPetr Pavlu1-8/+4
2023-12-05tracing: Disable snapshot buffer when stopping instance tracersSteven Rostedt (Google)1-76/+34
2023-12-05tracing: Stop current tracer when resizing bufferSteven Rostedt (Google)1-3/+7
2023-12-05tracing: Always update snapshot buffer sizeSteven Rostedt (Google)1-2/+1
2023-11-01tracing: Have trace_event_file have ref countersSteven Rostedt (Google)1-0/+15
2023-10-28seq_buf: Introduce DECLARE_SEQ_BUF and seq_buf_str()Kees Cook1-10/+1
2023-10-20tracing: Move readpos from seq_buf to trace_seqMatthew Wilcox (Oracle)1-5/+5
2023-10-04eventfs: Remove eventfs_file and just use eventfs_inodeSteven Rostedt (Google)1-6/+1
2023-10-03tracing: Expand all ring buffers individuallyZheng Yejian1-21/+26
2023-09-13Merge tag 'trace-v6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-9/+63
2023-09-08tracing: Use the new eventfs descriptor for print triggerSteven Rostedt (Google)1-2/+2
2023-09-07tracing: Have option files inc the trace array ref countSteven Rostedt (Google)1-1/+22
2023-09-07tracing: Have current_trace inc the trace array ref countSteven Rostedt (Google)1-1/+2
2023-09-07tracing: Have tracing_max_latency inc the trace array ref countSteven Rostedt (Google)1-5/+10
2023-09-07tracing: Increase trace array ref count on enable and filter filesSteven Rostedt (Google)1-0/+27
2023-09-02Merge tag 'probes-v6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/trac...Linus Torvalds1-1/+2
2023-09-01tracing: Zero the pipe cpumask on alloc to avoid spurious -EBUSYBrian Foster1-2/+2
2023-09-01tracing: Fix race issue between cpu buffer write and swapZheng Yejian1-5/+12
2023-09-01Merge tag 'trace-v6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...Linus Torvalds1-59/+40
2023-08-23tracing/probes: Support BTF based data structure field accessMasami Hiramatsu (Google)1-1/+2
2023-08-21tracing: Introduce pipe_cpumask to avoid race on trace_pipesZheng Yejian1-7/+48
2023-08-17tracing: Fix memleak due to race between current_tracer and traceZheng Yejian1-1/+8
2023-08-16tracing: Fix cpu buffers unavailable due to 'record_disabled' missedZheng Yejian1-0/+6
2023-07-30tracing: Set actual size after ring buffer resizeZheng Yejian1-8/+11
2023-07-30tracing: Add free_trace_iter_content() helper functionSteven Rostedt (Google)1-11/+22
2023-07-30tracing: Remove unnecessary copying of tr->current_traceSteven Rostedt (Google)1-19/+3
2023-07-30tracing: Add back FORTIFY_SOURCE logic to kernel_stack event structureSteven Rostedt (Google)1-21/+4
2023-07-23ring-buffer: Do not swap cpu_buffer during resize processChen Lin1-1/+2
2023-07-13tracing: Fix memory leak of iter->temp when reading trace_pipeZheng Yejian1-0/+1
2023-07-12tracing: Stop FORTIFY_SOURCE complaining about stack trace callerSteven Rostedt (Google)1-2/+19
2023-07-06Merge tag 'trace-v6.5-2' of git://git.kernel.org/pub/scm/linux/kernel/git/tra...Linus Torvalds1-1/+1
2023-07-05tracing: Fix null pointer dereference in tracing_err_log_open()Mateusz Stachyra1-1/+1
2023-06-30Merge tag 'probes-v6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/trac...Linus Torvalds1-1/+12
2023-06-27Merge tag 'hardening-v6.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-4/+4
2023-06-26Merge tag 'for-6.5/splice-2023-06-23' of git://git.kernel.dk/linuxLinus Torvalds1-1/+1
2023-06-06tracing/probes: Support function parameters if BTF is availableMasami Hiramatsu (Google)1-0/+4
2023-06-06tracing/probes: Add tracepoint support on fprobe_eventsMasami Hiramatsu (Google)1-0/+1
2023-06-06tracing/probes: Add fprobe events for tracing function entry and exit.Masami Hiramatsu (Google)1-1/+7
2023-05-28tracing: Only make selftest conditionals affect the global_traceSteven Rostedt (Google)1-2/+8
2023-05-28tracing: Make tracing_selftest_running/delete nops when not usedSteven Rostedt (Google)1-1/+4
2023-05-28tracing: Have tracer selftests call cond_resched() before runningSteven Rostedt (Google)1-0/+7
2023-05-28tracing: Move setting of tracing_selftest_running out of register_tracer()Steven Rostedt (Google)1-4/+16
2023-05-26tracing: Replace all non-returning strlcpy with strscpyAzeem Shaikh1-4/+4
2023-05-24trace: Convert trace/seq to use copy_splice_read()David Howells1-1/+1
2023-05-23tracing: Rename stacktrace field to common_stacktraceSteven Rostedt (Google)1-1/+1
2023-05-05Merge tag 'trace-v6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-1/+1
2023-05-03tracing: Fix permissions for the buffer_percent fileOndrej Mosnacek1-1/+1
2023-04-28Merge tag 'trace-v6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...Linus Torvalds1-2/+5
2023-04-05tracing: Free error logs of tracing instancesSteven Rostedt (Google)1-0/+1
2023-04-04tracing: Fix ftrace_boot_snapshot command line logicSteven Rostedt (Google)1-6/+7
2023-04-04tracing: Have tracing_snapshot_instance_cond() write errors to the appropriat...Steven Rostedt (Google)1-7/+7
2023-03-29tracing: Add "fields" option to show raw trace event fieldsSteven Rostedt (Google)1-2/+5
2023-03-19Merge tag 'trace-v6.3-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-0/+2
2023-03-19tracing: Make splice_read available againSung-hun Kim1-0/+2
2023-02-23Merge tag 'probes-v6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/trac...Linus Torvalds1-2/+2
2023-02-23Merge tag 'trace-v6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...Linus Torvalds1-19/+145
2023-02-20Merge tag 'sched-core-2023-02-20' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-0/+3
2023-02-21tracing/probe: add a char type to show the character value of traced argumentsDonglin Peng1-1/+1
2023-02-21tracing/eprobe: Fix to add filter on eprobe description in README fileMasami Hiramatsu (Google)1-1/+1
2023-02-18tracing: Always use canonical ftrace pathRoss Zwisler1-1/+1
2023-02-07tracing: Allow boot instances to have snapshot buffersSteven Rostedt (Google)1-7/+72
2023-02-07tracing: Add trace_array_puts() to write into instanceSteven Rostedt (Google)1-10/+17
2023-02-07tracing: Add enabling of events to boot instancesSteven Rostedt (Google)1-0/+4
2023-02-07tracing: Add creation of instances at boot command lineSteven Rostedt (Google)1-0/+50
2023-02-02tracing: Fix poll() and select() do not work on per_cpu trace_pipe and trace_...Shiju Jose1-3/+0
2023-01-31Merge tag 'v6.2-rc6' into sched/core, to pick up fixesIngo Molnar1-0/+2
2023-01-25tracing/histogram: Add simple tests for stacktrace usage of synthetic eventsSteven Rostedt (Google)1-1/+1
2023-01-24tracing: Make sure trace_printk() can output as soon as it can be usedSteven Rostedt (Google)1-0/+2
2023-01-13tracing: WARN on rcuidlePeter Zijlstra1-0/+3
2022-12-21Merge tag 'trace-probes-v6.2' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-1/+1
2022-12-15tracing/probes: Add symstr type for dynamic eventsMasami Hiramatsu (Google)1-1/+1
2022-12-14tracing: Improve panic/die notifiersGuilherme G. Piccoli1-28/+27
2022-12-12tracing: Fix infinite loop in tracing_read_pipe on overflowed print_trace_lineYang Jihong1-1/+14
2022-12-09tracing: Fix complicated dependency of CONFIG_TRACER_MAX_TRACEMasami Hiramatsu (Google)1-10/+13
2022-12-09tracing: Add nohitcount option for suppressing display of raw hitcountMasami Hiramatsu (Google)1-0/+3
2022-12-09tracing: Add .graph suffix option to histogram valueMasami Hiramatsu (Google)1-1/+2
2022-12-09tracing: Add .percent suffix option to histogram valuesMasami Hiramatsu (Google)1-1/+2
2022-11-23tracing: Make tracepoint_print_iter staticXiu Jianfeng1-1/+1
2022-11-23ring_buffer: Remove unused "event" parameterSong Chen1-1/+1
2022-11-23tracing: Add tracing_reset_all_online_cpus_unlocked() functionSteven Rostedt (Google)1-1/+10
2022-11-17tracing: Fix potential null-pointer-access of entry in list 'tr->err_log'Zheng Yejian1-4/+5
2022-11-16tracing: Fix memory leak in tracing_read_pipe()Wang Yufen1-0/+1
2022-11-16tracing/ring-buffer: Have polling block on watermarkSteven Rostedt (Google)1-1/+1
2022-10-05tracing: Do not free snapshot if tracer is on cmdlineSteven Rostedt (Google)1-4/+6
2022-09-29tracing: Fix spelling mistake "preapre" -> "prepare"Colin Ian King1-1/+1
2022-09-29tracing: Wake up waiters when tracing is disabledSteven Rostedt (Google)1-0/+6
2022-09-29tracing: Add ioctl() to force ring buffer waiters to wake upSteven Rostedt (Google)1-0/+22
2022-09-28tracing: Wake up ring buffer waiters on closing of the fileSteven Rostedt (Google)1-0/+15
2022-09-27tracing: Disable interrupt or preemption before acquiring arch_spinlock_tWaiman Long1-0/+23
2022-08-05Merge tag 'trace-v6.0' of git://git.kernel.org/pub/scm/linux/kernel/git/roste...Linus Torvalds1-18/+17
2022-08-02Merge tag 'rcu.2022.07.26a' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-4/+4
2022-08-02tracing: Use free_trace_buffer() in allocate_trace_buffers()Zhiqiang Liu1-14/+11
2022-07-30rv: Add Runtime Verification (RV) interfaceDaniel Bristot de Oliveira1-0/+2
2022-07-24tracing: Auto generate event name when creating a group of eventsLinyu Yuan1-4/+4
2022-07-12tracing: Fix sleeping while atomic in kdb ftdumpDouglas Anderson1-5/+6
2022-07-05context_tracking: Take NMI eqs entrypoints over RCUFrederic Weisbecker1-1/+1
2022-07-05context_tracking: Take IRQ eqs entrypoints over RCUFrederic Weisbecker1-3/+3
2022-06-17tracing: Simplify conditional compilation code in tracing_set_tracer()sunliming1-2/+0
2022-05-29Merge tag 'trace-v5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/rost...Linus Torvalds1-27/+45
2022-05-26tracing: Cleanup code by removing init "char *name"liqiong1-3/+1
2022-05-26tracing: Change "char *" string form to "char []"liqiong1-1/+1
2022-05-26tracing: Fix return value of trace_pid_write()Wonhyuk Yang1-2/+4
2022-05-26tracing: Use strim() to remove whitespace instead of doing it manuallyYuntao Wang1-5/+3
2022-04-27tracing: Introduce trace clock taiKurt Kanzenbach1-0/+1
2022-04-26tracing: make tracer_init_tracefs initcall asynchronousMark-PK Tsai1-10/+22
2022-04-26tracing: Avoid adding tracer option before update_tracer_optionsMark-PK Tsai1-0/+7
2022-04-26tracing: Fix sleeping function called from invalid context on RT kernelJun Miao1-3/+3
2022-04-26tracing: Fix kernel-docJiapeng Chong1-1/+1
2022-04-26tracing: Fix inconsistent style of mini-HOWTOOscar Shiang1-2/+2
2022-04-05ftrace: Use preemption model accessors for trace header printoutValentin Schneider1-10/+4
2022-03-26Merge tag 'trace-v5.18-1' of git://git.kernel.org/pub/scm/linux/kernel/git/ro...Linus Torvalds1-2/+7
2022-03-23Merge tag 'trace-v5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/rost...Linus Torvalds1-13/+60
2022-03-23tracing: Have trace event string test handle zero length stringsSteven Rostedt (Google)1-2/+7
2022-03-11tracing: Add snapshot at end of kernel boot upSteven Rostedt (Google)1-0/+18
2022-03-04tracing: Fix return value of __setup handlersRandy Dunlap1-2/+2
2022-02-25tracing: Ensure trace buffer is at least 4096 bytes largeSven Schnelle1-4/+6
2022-02-10tracing: Remove size restriction on tracing_log_err cmd stringsTom Zanussi1-13/+42
2022-02-08tracing: Fix tp_printk option related with tp_printk_stop_on_bootJaeSang Yoo1-0/+4
2022-01-27tracing: Don't inc err_log entry count if entry allocation failsTom Zanussi1-1/+2
2022-01-16Merge tag 'trace-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/rost...Linus Torvalds1-41/+47
2022-01-13tracing: Account bottom half disabled sections.Sebastian Andrzej Siewior1-2/+4
2022-01-05tracing: Tag trace_percpu_buffer as a percpu pointerNaveen N. Rao1-2/+2
2022-01-05tracing: Fix check for trace_percpu_buffer validity in get_trace_buf()Naveen N. Rao1-1/+1
2021-12-11tracing: Use trace_iterator_reset() in tracing_read_pipe()Steven Rostedt (VMware)1-2/+1
2021-12-07tracing: Make trace_marker{,_raw} stream-likeJohn Keeping1-10/+8
2021-12-06tracing: Disable preemption when using the filter bufferSteven Rostedt (VMware)1-26/+33
2021-12-06tracing: Use __this_cpu_read() in trace_event_buffer_lock_reserver()Steven Rostedt (VMware)1-1/+1
2021-12-06tracing: Fix spelling mistake "aritmethic" -> "arithmetic"Colin Ian King1-1/+1
2021-11-18tracing: Don't use out-of-sync va_list in event printingNikita Yushchenko1-0/+12
2021-11-18tracing: Use memset_startat() to zero struct trace_iteratorKees Cook1-3/+1
2021-11-03Merge tag 'trace-v5.16-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ro...Linus Torvalds1-0/+11
2021-11-01Merge tag 'trace-v5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/rost...Linus Torvalds1-87/+64
2021-11-01tracing/histogram: Document hist trigger variablesKalesh Singh1-0/+11
2021-10-08tracing: Disable "other" permission bits in the tracefs filesSteven Rostedt (VMware)1-36/+37
2021-10-07tracing: Fix missing osnoise tracer on max_latencyJackie Liu1-7/+4
2021-10-05tracing: Place trace_pid_list logic into abstract functionsSteven Rostedt (VMware)1-51/+27
2021-09-09Merge tag 'trace-v5.15-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ro...Linus Torvalds1-7/+19
2021-09-05Merge tag 'trace-v5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/rost...Linus Torvalds1-3/+7