aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace
AgeCommit message (Expand)AuthorFilesLines
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-12-05iov_iter: replace import_single_range() with import_ubuf()Jens Axboe1-2/+1
2023-12-05iov_iter: remove unused 'iov' argument from import_single_range()Jens Axboe1-2/+1
2023-12-01bpf: Add kfunc bpf_get_file_xattrSong Liu1-0/+67
2023-12-01tracing/uprobe: Replace strlcpy() with strscpy()Kees Cook1-1/+1
2023-12-01rethook: Use __rcu pointer for rethook::handlerMasami Hiramatsu (Google)1-9/+14
2023-11-28bpf: Add link_info support for uprobe multi linkJiri Olsa1-0/+72
2023-11-28bpf: Store ref_ctr_offsets values in bpf_uprobe arrayJiri Olsa1-11/+3
2023-11-21Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski1-4/+8
2023-11-11tracing/kprobes: Fix the order of argument descriptionsYujie Liu1-1/+1
2023-11-10tracing: fprobe-event: Fix to check tracepoint event and returnMasami Hiramatsu (Google)1-4/+5
2023-11-09bpf: Add __bpf_dynptr_data* for in kernel useSong Liu1-4/+8
2023-11-09Merge tag 'net-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/netd...Linus Torvalds1-4/+2
2023-11-03Merge tag 'trace-v6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...Linus Torvalds9-182/+352
2023-11-01bpf: Add __bpf_kfunc_{start,end}_defs macrosDave Marchevsky1-4/+2
2023-11-01tracing: Have the user copy of synthetic event address use correct contextSteven Rostedt (Google)1-1/+1
2023-11-01tracing: Have trace_event_file have ref countersSteven Rostedt (Google)4-4/+48
2023-11-01Merge tag 'probes-v6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/trac...Linus Torvalds3-73/+50
2023-10-31Merge tag 'net-next-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds3-7/+21
2023-10-30Merge tag 'vfs-6.7.misc' of gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfsLinus Torvalds1-1/+1
2023-10-28seq_buf: Introduce DECLARE_SEQ_BUF and seq_buf_str()Kees Cook1-10/+1
2023-10-28tracing/kprobes: Fix symbol counting logic by looking at modules as wellAndrii Nakryiko1-4/+20
2023-10-27tracing/kprobes: Fix the description of variable length argumentsYujie Liu1-2/+2
2023-10-26Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-0/+64
2023-10-24kprobes: unused header files removedwuqiang.matt1-2/+0
2023-10-23tracing/histograms: Simplify last_cmd_set()Christophe JAILLET1-9/+2
2023-10-20tracing: Move readpos from seq_buf to trace_seqMatthew Wilcox (Oracle)2-6/+10
2023-10-20tracing: Fix a NULL vs IS_ERR() bug in event_subsystem_dir()Dan Carpenter1-1/+1
2023-10-20tracing/kprobes: Return EADDRNOTAVAIL when func matches several symbolsFrancis Laniel2-0/+64
2023-10-19Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-3/+3
2023-10-19fs: create helper file_user_path() for user displayed mapped file pathAmir Goldstein1-1/+1
2023-10-18kprobes: kretprobe scalability improvementwuqiang.matt2-68/+50
2023-10-16Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski3-7/+21
2023-10-17fprobe: Fix to ensure the number of active retprobes is not zeroMasami Hiramatsu (Google)1-3/+3
2023-10-13bpf: Change syscall_nr type to int in struct syscall_tp_tArtem Savkov1-2/+2
2023-10-10tracing/eprobe: drop unneeded breaksJulia Lawall1-4/+1
2023-10-05tracing: Make system_callback() function staticSteven Rostedt (Google)1-1/+1
2023-10-05eventfs: Use eventfs_remove_events_dir()Steven Rostedt (Google)1-1/+1
2023-10-04eventfs: Remove eventfs_file and just use eventfs_inodeSteven Rostedt (Google)3-103/+221
2023-10-03tracing/user_events: Allow events to persist for perfmon_capable usersBeau Belgrave1-14/+22
2023-10-03ring_buffer: Use try_cmpxchg instead of cmpxchg in rb_insert_pagesUros Bizjak1-4/+4
2023-10-03tracing: Expand all ring buffers individuallyZheng Yejian3-33/+45
2023-09-30tracing/user_events: Align set_bit() address for all archsBeau Belgrave1-7/+51
2023-09-30tracing: relax trace_event_eval_update() execution with cond_resched()Clément Léger1-0/+1
2023-09-30ring-buffer: Update "shortest_full" in pollingSteven Rostedt (Google)1-0/+3
2023-09-25bpf: Count missed stats in trace_call_bpfJiri Olsa1-0/+3
2023-09-25bpf: Add missed value to kprobe perf link infoJiri Olsa2-5/+14
2023-09-25bpf: Add missed value to kprobe_multi link infoJiri Olsa1-0/+1
2023-09-25bpf: Count stats for kprobe_multi programsJiri Olsa1-0/+1
2023-09-24Merge tag 'trace-v6.6-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-13/+15
2023-09-22ring-buffer: Fix bytes info in per_cpu buffer statsZheng Yejian1-13/+15
2023-09-16Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpfDavid S. Miller1-1/+19
2023-09-15bpf: Fix uprobe_multi get_pid_task error pathJiri Olsa1-1/+3
2023-09-13Merge tag 'trace-v6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds6-30/+88
2023-09-12eventfs: Fix the NULL pointer dereference bug in eventfs_remove_rec()Jinjie Ruan1-4/+9
2023-09-11tracing/synthetic: Print out u64 values properlyTero Kristo1-1/+1
2023-09-08tracing: Remove unused trace_event_file dir fieldSteven Rostedt (Google)1-13/+0
2023-09-08tracing: Use the new eventfs descriptor for print triggerSteven Rostedt (Google)1-2/+2
2023-09-08ring-buffer: Do not attempt to read past "commit"Steven Rostedt (Google)1-0/+5
2023-09-08bpf: Add override check to kprobe multi link attachJiri Olsa1-0/+16
2023-09-07ring-buffer: Avoid softlockup in ring_buffer_resize()Zheng Yejian1-0/+2
2023-09-07tracing: Have event inject files inc the trace array ref countSteven Rostedt (Google)1-1/+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)3-2/+33
2023-09-02Merge tag 'probes-v6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/trac...Linus Torvalds10-164/+582
2023-09-01tracing/filters: Fix coding style issuesValentin Schneider1-2/+4
2023-09-01tracing/filters: Change parse_pred() cpulist ternary into an if blockValentin Schneider1-2/+6
2023-09-01tracing/filters: Fix double-free of struct filter_pred.maskValentin Schneider1-0/+1
2023-09-01tracing/filters: Fix error-handling of cpulist parsing bufferValentin Schneider1-2/+8
2023-09-01tracing: Zero the pipe cpumask on alloc to avoid spurious -EBUSYBrian Foster1-2/+2
2023-09-01ftrace: Use LIST_HEAD to initialize clear_hashRuan Jinjie1-3/+1
2023-09-01ftrace: Use within_module to check rec->ip within specified module.Levi Yun1-4/+2
2023-09-01tracing: Fix race issue between cpu buffer write and swapZheng Yejian1-5/+12
2023-09-01tracing: Remove extra space at the end of hwlat_detector/modeMikhail Kobuk1-1/+1
2023-09-01Merge tag 'trace-v6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...Linus Torvalds8-148/+389
2023-08-29Merge tag 'net-next-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds5-42/+411
2023-08-23tracing/fprobe-event: Assume fprobe is a return event by $retvalMasami Hiramatsu (Google)1-14/+44
2023-08-23tracing/probes: Add string type check with BTFMasami Hiramatsu (Google)2-3/+89
2023-08-23tracing/probes: Support BTF field access from $retvalMasami Hiramatsu (Google)2-102/+86
2023-08-23tracing/probes: Support BTF based data structure field accessMasami Hiramatsu (Google)3-28/+216
2023-08-23tracing/probes: Add a function to search a member of a struct/unionMasami Hiramatsu (Google)2-0/+73
2023-08-23tracing/probes: Move finding func-proto API and getting func-param API to tra...Masami Hiramatsu (Google)4-40/+72
2023-08-23tracing/probes: Support BTF argument on module functionsMasami Hiramatsu (Google)6-48/+73
2023-08-23tracing/eprobe: Iterate trace_eprobe directlyChuang Wang1-9/+9
2023-08-22tracing/user_events: Optimize safe list traversalsEric Vaughn1-7/+8
2023-08-22tracing: Remove unused function declarationsYue Haibing1-2/+0
2023-08-22tracing/filters: Further optimise scalar vs cpumask comparisonValentin Schneider1-6/+20
2023-08-22tracing/filters: Optimise CPU vs cpumask filtering when the user mask is a si...Valentin Schneider1-2/+7
2023-08-22tracing/filters: Optimise scalar vs cpumask filtering when the user mask is a...Valentin Schneider1-1/+6
2023-08-22tracing/filters: Optimise cpumask vs cpumask filtering when user mask is a si...Valentin Schneider1-1/+34
2023-08-22tracing/filters: Enable filtering the CPU common field by a cpumaskValentin Schneider1-0/+14
2023-08-22tracing/filters: Enable filtering a scalar field by a cpumaskValentin Schneider1-11/+81
2023-08-22tracing/filters: Enable filtering a cpumask field by another cpumaskValentin Schneider1-2/+95
2023-08-22tracing/filters: Dynamically allocate filter_pred.regexValentin Schneider1-25/+39
2023-08-21bpf: Add bpf_get_func_ip helper support for uprobe linkJiri Olsa1-3/+30
2023-08-21bpf: Add pid filter support for uprobe_multi linkJiri Olsa1-0/+33
2023-08-21bpf: Add cookies support for uprobe_multi linkJiri Olsa1-4/+41
2023-08-21bpf: Add multi uprobe linkJiri Olsa1-0/+233
2023-08-21tracing: Introduce pipe_cpumask to avoid race on trace_pipesZheng Yejian2-7/+50
2023-08-17tracing: Fix memleak due to race between current_tracer and traceZheng Yejian3-2/+12
2023-08-16tracing/synthetic: Allocate one additional element for sizeSven Schnelle1-1/+2
2023-08-16tracing/synthetic: Skip first entry for stack tracesSven Schnelle1-13/+4
2023-08-16tracing/synthetic: Use union instead of castsSven Schnelle2-50/+45
2023-08-16tracing: Fix cpu buffers unavailable due to 'record_disabled' missedZheng Yejian1-0/+6
2023-08-07bpf: Add support for bpf_get_func_ip helper for uprobe programJiri Olsa3-7/+16
2023-08-03Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski2-15/+8
2023-08-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski7-31/+37
2023-08-03Merge tag 'net-6.5-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/netd...Linus Torvalds1-5/+12
2023-08-03Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski1-5/+12
2023-08-02bpf: fix bpf_probe_read_kernel prototype mismatchArnd Bergmann1-11/+0
2023-08-01tracing: bpf: use struct trace_entry in struct syscall_tp_tYauheni Kaliuta1-4/+8
2023-07-31eventfs: Move tracing/events to eventfsAjay Kaher2-33/+34
2023-07-30tracing: Require all trace events to have a TRACE_SYSTEMSteven Rostedt (Google)1-7/+8
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-30ring_buffer: Use try_cmpxchg instead of cmpxchgUros Bizjak1-14/+6
2023-07-30tracing: Add back FORTIFY_SOURCE logic to kernel_stack event structureSteven Rostedt (Google)4-22/+24
2023-07-30Merge tag 'probes-fixes-v6.5-rc3' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-4/+4
2023-07-28tracing: Fix warning in trace_buffered_event_disable()Zheng Yejian1-10/+4
2023-07-28tracing: Fix kernel-doc warnings in trace_seq.cGaosheng Cui1-0/+1
2023-07-28tracing: Fix kernel-doc warnings in trace_events_trigger.cGaosheng Cui1-0/+2
2023-07-28tracing/synthetic: Fix kernel-doc warnings in trace_events_synth.cGaosheng Cui1-0/+1
2023-07-28ring-buffer: Fix kernel-doc warnings in ring_buffer.cGaosheng Cui1-2/+1
2023-07-28ring-buffer: Fix wrong stat of cpu_buffer->readZheng Yejian1-10/+12
2023-07-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski4-7/+17
2023-07-26tracing/probes: Fix to add NULL check for BTF APIsMasami Hiramatsu (Google)1-4/+4
2023-07-25bpf: Disable preemption in bpf_event_outputJiri Olsa1-1/+5
2023-07-25bpf: Disable preemption in bpf_perf_event_outputJiri Olsa1-4/+7
2023-07-23tracing/histograms: Return an error if we fail to add histogram to hist_vars ...Mohamed Khalfella1-1/+2
2023-07-23ring-buffer: Do not swap cpu_buffer during resize processChen Lin2-2/+15
2023-07-23tracing: Remove unused extern declaration tracing_map_set_field_descr()YueHaibing1-4/+0
2023-07-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski6-29/+24
2023-07-16Merge tag 'probes-fixes-v6.5-rc1-2' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds6-29/+24
2023-07-14tracing/probes: Fix to record 0-length data_loc in fetch_store_string*() if f...Masami Hiramatsu (Google)3-12/+14
2023-07-13Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski3-14/+51
2023-07-13Merge tag 'trace-v6.5-rc1-3' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds8-30/+81
2023-07-14Revert "tracing: Add "(fault)" name injection to kernel probes"Masami Hiramatsu (Google)3-26/+9
2023-07-14tracing/probes: Fix to update dynamic data counter if fetcharg uses itMasami Hiramatsu (Google)1-5/+7
2023-07-14tracing/probes: Fix not to count error code to total lengthMasami Hiramatsu (Google)1-0/+2
2023-07-14tracing/probes: Fix to avoid double count of the string length on the arrayMasami Hiramatsu (Google)1-2/+2
2023-07-14fprobes: Add a comment why fprobe_kprobe_handler exits if kprobe is runningMasami Hiramatsu (Google)1-0/+6
2023-07-13tracing: Fix memory leak of iter->temp when reading trace_pipeZheng Yejian1-0/+1
2023-07-12tracing/histograms: Add histograms to hist_vars if they have referenced varia...Mohamed Khalfella1-3/+5
2023-07-12tracing: Stop FORTIFY_SOURCE complaining about stack trace callerSteven Rostedt (Google)1-2/+19
2023-07-12ftrace: Fix possible warning on checking all pages used in ftrace_process_locs()Zheng Yejian1-14/+31
2023-07-12Merge tag 'probes-fixes-v6.5-rc1' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds3-10/+36
2023-07-12ring-buffer: Fix deadloop issue on reading trace_pipeZheng Yejian1-9/+15
2023-07-12tracing: arm64: Avoid missing-prototype warningsArnd Bergmann3-2/+7
2023-07-11bpf: Support ->fill_link_info for perf_eventYafang Shao1-3/+7
2023-07-11bpf: Expose symbol's respective addressYafang Shao1-12/+4
2023-07-11bpf: Clear the probe_addr for uprobeYafang Shao2-2/+3
2023-07-11bpf: Protect probed address based on kptr_restrict settingYafang Shao1-1/+4
2023-07-11bpf: Support ->fill_link_info for kprobe_multiYafang Shao1-0/+37
2023-07-10tracing/user_events: Fix struct arg size match checkBeau Belgrave1-0/+3
2023-07-11fprobe: Ensure running fprobe_exit_handler() finished before calling rethook_...Masami Hiramatsu (Google)2-0/+16
2023-07-11fprobe: add unlock to match a succeeded ftrace_test_recursion_trylockZe Gao1-1/+3
2023-07-11kernel/trace: Fix cleanup logic of enable_trace_eprobeTzvetomir Stoyanov (VMware)1-2/+16
2023-07-06Merge tag 'trace-v6.5-2' of git://git.kernel.org/pub/scm/linux/kernel/git/tra...Linus Torvalds2-5/+5
2023-07-05tracing/boot: Test strscpy() against less than zero for errorSteven Rostedt (Google)1-4/+4
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 Torvalds13-155/+1916
2023-06-30Merge tag 'trace-v6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...Linus Torvalds9-23/+665
2023-06-29Merge tag 'trace-v6.4-rc7-v3' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-1/+2
2023-06-28Merge tag 'net-next-6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-2/+2
2023-06-28Merge tag 'mm-stable-2023-06-24-19-15' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-1/+1
2023-06-28tracing/user_events: Fix incorrect return value for writing operation when ev...sunliming1-1/+2
2023-06-27Merge tag 'hardening-v6.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds6-19/+19
2023-06-27fprobe: Release rethook after the ftrace_ops is unregisteredJiri Olsa1-9/+3
2023-06-26Merge tag 'for-6.5/splice-2023-06-23' of git://git.kernel.dk/linuxLinus Torvalds1-1/+1
2023-06-23Merge mm-hotfixes-stable into mm-stable to pick up depended-upon changes.Andrew Morton6-60/+149
2023-06-23tracing/probes: Fix tracepoint event with $arg* to fetch correct argumentMasami Hiramatsu (Google)1-2/+8
2023-06-23tracing/probes: Fix to return NULL and keep using current argcMasami Hiramatsu (Google)1-1/+2
2023-06-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-84/+208
2023-06-22tracing/boot: Replace strlcpy with strscpyAzeem Shaikh1-4/+4
2023-06-22tracing/timerlat: Add user-space interfaceDaniel Bristot de Oliveira2-5/+377
2023-06-22tracing/osnoise: Skip running osnoise if all instances are offDaniel Bristot de Oliveira1-3/+28
2023-06-22tracing/osnoise: Switch from PF_NO_SETAFFINITY to migrate_disableDaniel Bristot de Oliveira1-0/+68
2023-06-22ftrace: Show all functions with addresses in available_filter_functions_addrsJiri Olsa1-0/+37
2023-06-20function_graph: Support recording and printing the return value of functionDonglin Peng5-11/+148
2023-06-20fgraph: Add declaration of "struct fgraph_ret_regs"Steven Rostedt (Google)1-0/+3
2023-06-20Merge tag 'trace-v6.4-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds2-84/+208
2023-06-14tracing/user_events: Add auto cleanup and future persist flagBeau Belgrave1-13/+126
2023-06-14tracing/user_events: Track refcount consistently via put/getBeau Belgrave1-28/+41
2023-06-14tracing/user_events: Store register flags on eventsBeau Belgrave1-6/+10
2023-06-14tracing/user_events: Remove user_ns walk for groupsBeau Belgrave1-37/+5
2023-06-14tracing/user_events: Fix the incorrect trace record for empty arguments eventssunliming1-2/+2
2023-06-14tracing: Modify print_fields() for fields output ordersunliming1-1/+1
2023-06-14tracing/user_events: Handle matching arguments that is null from dyn_eventssunliming1-0/+2
2023-06-14tracing/user_events: Prevent same name but different args eventsunliming1-6/+30
2023-06-09mm/gup: remove unused vmas parameter from pin_user_pages_remote()Lorenzo Stoakes1-1/+1
2023-06-08Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-2/+12
2023-06-08Merge tag 'net-6.4-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/netd...Linus Torvalds1-1/+11
2023-06-07Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski1-1/+11
2023-06-07bpf: Add extra path pointer check to d_path helperJiri Olsa1-1/+11
2023-06-06tracing/probes: Add BTF retval type supportMasami Hiramatsu (Google)2-7/+63
2023-06-06tracing/probes: Add $arg* meta argument for all function argsMasami Hiramatsu (Google)4-12/+212