aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace
AgeCommit message (Expand)AuthorFilesLines
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
2023-06-06tracing/probes: Support function parameters if BTF is availableMasami Hiramatsu (Google)6-31/+270
2023-06-06tracing/probes: Move event parameter fetching code to common parserMasami Hiramatsu (Google)6-132/+155
2023-06-06tracing/probes: Add tracepoint support on fprobe_eventsMasami Hiramatsu (Google)5-16/+151
2023-06-06tracing/probes: Add fprobe events for tracing function entry and exit.Masami Hiramatsu (Google)9-7/+1100
2023-06-06tracing/probes: Avoid setting TPARG_FL_FENTRY and TPARG_FL_RETURNMasami Hiramatsu (Google)2-1/+6
2023-06-06fprobe: Pass return address to the handlersMasami Hiramatsu (Google)3-6/+9
2023-06-03Merge tag 'probes-fixes-6.4-rc4' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+1
2023-06-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski6-60/+149
2023-05-31tracing/probe: trace_probe_primary_from_call(): checked list_first_entryPietro Borrello1-1/+1
2023-05-30ftrace: Replace all non-returning strlcpy with strscpyAzeem Shaikh1-9/+9
2023-05-28tracing: Have function_graph selftest call cond_resched()Steven Rostedt (Google)1-0/+10
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 Shaikh5-10/+10
2023-05-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-17/+60
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)3-7/+13
2023-05-23tracing/histograms: Allow variables to have some modifiersSteven Rostedt (Google)1-7/+16
2023-05-23tracing/user_events: Document user_event_mm one-shot list usageBeau Belgrave1-1/+22
2023-05-23tracing/user_events: Rename link fields for clarityBeau Belgrave1-18/+22
2023-05-23tracing/user_events: Remove RCU lock while pinning pagesLinus Torvalds1-6/+7
2023-05-23tracing/user_events: Split up mm alloc and attachLinus Torvalds1-11/+18
2023-05-23tracing/timerlat: Always wakeup the timerlat threadDaniel Bristot de Oliveira1-0/+2
2023-05-23tracing/user_events: Use long vs int for atomic bit opsBeau Belgrave1-7/+8
2023-05-18fprobe: add recursion detection in fprobe_exit_handlerZe Gao1-0/+14
2023-05-18fprobe: make fprobe_kprobe_handler recursion freeZe Gao1-15/+44
2023-05-18rethook: use preempt_{disable, enable}_notrace in rethook_trampoline_handlerZe Gao1-2/+2
2023-05-17tracing: fprobe: Initialize ret valiable to fix smatch errorMasami Hiramatsu (Google)1-1/+1
2023-05-16Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski1-2/+2
2023-05-05Merge tag 'trace-v6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds2-4/+10
2023-05-05ftrace: Add MODIFIED flag to show if IPMODIFY or direct was attachedSteven Rostedt (Google)1-3/+9
2023-05-03tracing: Fix permissions for the buffer_percent fileOndrej Mosnacek1-1/+1
2023-04-28Merge tag 'trace-tools-v6.4' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-2/+0
2023-04-28Merge tag 'trace-v6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...Linus Torvalds10-260/+1168
2023-04-27Merge tag 'modules-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds3-4/+1
2023-04-27ring-buffer: Sync IRQ works before buffer destructionJohannes Berg1-0/+4
2023-04-27bpf: Add bpf_dynptr_sizeJoanne Koong1-2/+2
2023-04-26Merge tag 'net-next-6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-4/+0
2023-04-26tracing: Add missing spaces in trace_print_hex_seq()Ken Lin1-1/+4
2023-04-26ring-buffer: Ensure proper resetting of atomic variables in ring_buffer_reset...Tze-nan Wu1-3/+13
2023-04-25tracing/user_events: Limit max fault-in attemptsBeau Belgrave1-14/+35
2023-04-25tracing/user_events: Prevent same address and bit per processBeau Belgrave1-0/+41
2023-04-25tracing/user_events: Ensure bit is cleared on unregisterBeau Belgrave1-0/+34
2023-04-25tracing/user_events: Ensure write index cannot be negativeBeau Belgrave1-0/+3
2023-04-25tracing: Fix print_fields() for __dyn_loc/__rel_locBeau Belgrave1-4/+6
2023-04-25tracing/user_events: Set event filter_type from typeBeau Belgrave1-0/+3
2023-04-25ring-buffer: Clearly check null ptr returned by rb_set_head_page()Zheng Yejian1-2/+3
2023-04-25rv: Remove redundant assignment to variable retvalColin Ian King1-2/+0
2023-04-25Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/a...Linus Torvalds3-428/+34
2023-04-24Merge tag 'rcu.6.4.april5.2023.3' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds2-2/+2
2023-04-13Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-7/+10
2023-04-13rv/reactor: remove MODULE_LICENSE in non-modulesNick Alcock2-2/+0
2023-04-06tracing/synthetic: Make lastcmd_mutex staticSteven Rostedt (Google)1-1/+1
2023-04-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski4-19/+45
2023-04-06ftrace: Fix issue that 'direct->addr' not restored in modify_ftrace_direct()Zheng Yejian1-6/+9
2023-04-05tracing: Free error logs of tracing instancesSteven Rostedt (Google)1-0/+1
2023-04-05tracing: Rename kvfree_rcu() to kvfree_rcu_mightsleep()Uladzislau Rezki (Sony)2-2/+2
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-04-03tracing/osnoise: Fix notify new tracing_max_latencyDaniel Bristot de Oliveira1-1/+1
2023-04-03tracing/timerlat: Notify new max thread latencyDaniel Bristot de Oliveira1-0/+2
2023-04-03ring-buffer: Fix race while reader and writer are on the same pageZheng Yejian1-1/+12
2023-04-03tracing/synthetic: Fix races on freeing last_cmdTze-nan Wu1-4/+15
2023-03-29tracing: Unbreak user eventsSteven Rostedt (Google)1-1/+0
2023-03-29tracing/user_events: Use print_format_fields() for trace outputSteven Rostedt (Google)1-6/+3