aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_kprobe.c
AgeCommit message (Expand)AuthorFilesLines
6 daysMerge tag 'probes-v6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/tra...Linus Torvalds1-0/+6
10 dayskprobes: remove dependency on CONFIG_MODULESMike Rapoport (IBM)1-1/+19
2024-05-01tracing/probes: support '%pd' type for print struct dentry's nameYe Bin1-0/+6
2024-03-07tracing/probes: Support $argN in return probe (kprobe and fprobe)Masami Hiramatsu (Google)1-10/+46
2024-03-07tracing/probes: cleanup: Set trace_probe::nr_args at trace_probe_initMasami Hiramatsu (Google)1-1/+1
2023-12-17trace/kprobe: Display the actual notrace function when rejecting a probeNaveen N Rao1-2/+2
2023-11-11tracing/kprobes: Fix the order of argument descriptionsYujie Liu1-1/+1
2023-10-31Merge tag 'net-next-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-3/+11
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 Kicinski1-0/+63
2023-10-20tracing/kprobes: Return EADDRNOTAVAIL when func matches several symbolsFrancis Laniel1-0/+63
2023-09-25bpf: Add missed value to kprobe perf link infoJiri Olsa1-3/+11
2023-09-02Merge tag 'probes-v6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/trac...Linus Torvalds1-0/+1
2023-08-23tracing/probes: Support BTF argument on module functionsMasami Hiramatsu (Google)1-0/+1
2023-07-13Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski1-9/+4
2023-07-11bpf: Expose symbol's respective addressYafang Shao1-12/+4
2023-07-11bpf: Protect probed address based on kptr_restrict settingYafang Shao1-1/+4
2023-06-30Merge tag 'probes-v6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/trac...Linus Torvalds1-9/+26
2023-06-06tracing/probes: Add $arg* meta argument for all function argsMasami Hiramatsu (Google)1-4/+19
2023-06-06tracing/probes: Support function parameters if BTF is availableMasami Hiramatsu (Google)1-6/+6
2023-06-06tracing/probes: Move event parameter fetching code to common parserMasami Hiramatsu (Google)1-1/+3
2023-06-06tracing/probes: Add fprobe events for tracing function entry and exit.Masami Hiramatsu (Google)1-1/+1
2023-06-06tracing/probes: Avoid setting TPARG_FL_FENTRY and TPARG_FL_RETURNMasami Hiramatsu (Google)1-1/+1
2023-05-26tracing: Replace all non-returning strlcpy with strscpyAzeem Shaikh1-1/+1
2023-02-24kernel/trace: extract common part in process_fetch_insnSong Chen1-10/+4
2023-02-24kernel/trace: Provide default impelentations defined in trace_probe_tmpl.hSong Chen1-54/+0
2023-02-24kernel/trace: Introduce trace_probe_print_args and use it in *probesSong Chen1-2/+2
2022-12-09trace/kprobe: remove duplicated calls of ring_buffer_event_dataSong Chen1-2/+0
2022-10-12tracing: Move duplicate code of trace_kprobe/eprobe.c into headerSteven Rostedt (Google)1-55/+5
2022-07-24tracing: Auto generate event name when creating a group of eventsLinyu Yuan1-6/+10
2022-06-17tracing/kprobes: Check whether get_kretprobe() returns NULL in kretprobe_disp...Masami Hiramatsu (Google)1-1/+10
2022-05-26tracing: Use trace_create_file() to simplify creation of tracefs entriesYuntao Wang1-11/+4
2022-03-28kprobes: Use rethook for kretprobe if possibleMasami Hiramatsu1-2/+2
2022-03-04tracing: Fix return value of __setup handlersRandy Dunlap1-1/+1
2022-01-16Merge tag 'trace-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/rost...Linus Torvalds1-28/+15
2022-01-13tracing/kprobes: 'nmissed' not showed correctly for kretprobeXiangyang Zhang1-1/+4
2021-12-16add missing bpf-cgroup.h includesJakub Kicinski1-0/+1
2021-12-11tracing: Iterate trace_[ku]probe objects directlyJiri Olsa1-9/+4
2021-12-06tracing/kprobes: Do not open code event reserve logicSteven Rostedt (VMware)1-18/+7
2021-10-08tracing: Disable "other" permission bits in the tracefs filesSteven Rostedt (VMware)1-4/+4
2021-09-30kprobes: Use bool type for functions which returns boolean valueMasami Hiramatsu1-1/+1
2021-08-20tracing: Add a probe that attaches to trace eventsTzvetomir Stoyanov (VMware)1-8/+0
2021-08-19tracing/probes: Reject events which have the same name of existing oneMasami Hiramatsu1-1/+5
2021-08-19tracing/probes: Have process_fetch_insn() take a void * instead of pt_regsSteven Rostedt (VMware)1-1/+2
2021-08-19tracing/probe: Change traceprobe_set_print_fmt() to take a typeSteven Rostedt (VMware)1-2/+7
2021-08-18tracing/probes: Use struct_size() instead of defining custom macrosSteven Rostedt (VMware)1-5/+1
2021-08-18tracing/probe: Have traceprobe_parse_probe_arg() take a const argSteven Rostedt (VMware)1-8/+1
2021-08-18tracing: Have dynamic events have a ref counterSteven Rostedt (VMware)1-0/+4
2021-08-18tracing: Add DYNAMIC flag for dynamic eventsSteven Rostedt (VMware)1-2/+2
2021-03-23tracing: Fix various typos in commentsIngo Molnar1-1/+1
2021-02-23Merge tag 'modules-for-v5.12' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-2/+2
2021-02-09tracing/dynevent: Delegate parsing to create functionMasami Hiramatsu1-15/+18
2021-02-08module: use RCU to synchronize find_moduleChristoph Hellwig1-2/+2
2021-02-02tracing: Merge irqflags + preempt counter.Sebastian Andrzej Siewior1-6/+4
2021-01-29tracing/kprobe: Fix to support kretprobe events on unloaded modulesMasami Hiramatsu1-4/+6
2021-01-11tracing/kprobes: Do the notrace functions check without kprobes on ftraceMasami Hiramatsu1-1/+1
2020-12-17Merge tag 'trace-v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/rost...Linus Torvalds1-6/+3
2020-12-14tracing: Disable ftrace selftests when any tracer is runningMasami Hiramatsu1-6/+3
2020-11-07Merge branch 'linus' into perf/kprobesIngo Molnar1-3/+3
2020-11-07Merge branch 'linus' into perf/kprobesIngo Molnar1-9/+26
2020-10-12kprobes: Remove kretprobe hashPeter Zijlstra1-1/+2
2020-09-21tracing/boot, kprobe, synth: Initialize boot-time tracing earlierMasami Hiramatsu1-3/+3
2020-09-21tracing/kprobes: Support perf-style return probeMasami Hiramatsu1-1/+17
2020-09-21kprobes: Use module_name() macroJarkko Sakkinen1-3/+4
2020-09-18tracing: make tracing_init_dentry() returns an integer instead of a d_entry p...Wei Yang1-5/+5
2020-06-17maccess: rename probe_user_{read,write} to copy_{from,to}_user_nofaultChristoph Hellwig1-1/+1
2020-06-17maccess: rename probe_kernel_{read,write} to copy_{from,to}_kernel_nofaultChristoph Hellwig1-2/+2
2020-06-13Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netLinus Torvalds1-1/+1
2020-06-09tracing/probe: Fix bpf_task_fd_query() for kprobes and uprobesJean-Philippe Brucker1-1/+1
2020-06-09maccess: always use strict semantics for probe_kernel_readChristoph Hellwig1-2/+2
2020-06-09tracing/kprobes: handle mixed kernel/userspace probes betterChristoph Hellwig1-29/+43
2020-06-09maccess: rename strnlen_unsafe_user to strnlen_user_nofaultChristoph Hellwig1-1/+1
2020-06-09maccess: rename strncpy_from_unsafe_user to strncpy_from_user_nofaultChristoph Hellwig1-1/+1
2020-05-06tracing/kprobes: Reject new event if loc is NULLMasami Hiramatsu1-0/+6
2020-05-06tracing/kprobes: Fix a double initialization typoMasami Hiramatsu1-1/+1
2020-03-27ftrace/kprobe: Show the maxactive number on kprobe_eventsMasami Hiramatsu1-0/+2
2020-02-11Merge tag 'trace-v5.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/r...Linus Torvalds1-1/+1
2020-02-10tracing/kprobe: Fix uninitialized variable bugGustavo A. R. Silva1-1/+1
2020-02-06Merge tag 'trace-v5.6-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ros...Linus Torvalds1-34/+204
2020-02-01tracing: Use seq_buf for building dynevent_cmd stringTom Zanussi1-1/+1
2020-02-01tracing: Remove check_arg() callbacks from dynevent argsTom Zanussi1-5/+5
2020-01-30tracing: Change trace_boot to use kprobe_event interfaceTom Zanussi1-7/+2
2020-01-30tracing: Add kprobe event command generation functionsTom Zanussi1-0/+161
2020-01-28Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-2/+14
2020-01-22tracing/uprobe: Fix to make trace_uprobe_filter alignment safeMasami Hiramatsu1-1/+1
2020-01-22trace/kprobe: Remove unused MAX_KPROBE_CMDLINE_SIZEAlex Shi1-1/+0
2020-01-14tracing/uprobe: Fix double perf_event linking on multiprobe uprobeMasami Hiramatsu1-1/+1
2020-01-13tracing/boot Add kprobe event supportMasami Hiramatsu1-0/+5
2020-01-13tracing: kprobes: Register to dynevent earlier stageMasami Hiramatsu1-4/+15
2020-01-13tracing: kprobes: Output kprobe event to printk bufferMasami Hiramatsu1-29/+28
2020-01-13tracing: Make struct ring_buffer less ambiguousSteven Rostedt (VMware)1-2/+2
2019-12-10Merge tag 'v5.5-rc1' into core/kprobes, to resolve conflictsIngo Molnar1-3/+24
2019-11-27ftrace: Rework event_create_dir()Peter Zijlstra1-2/+14
2019-11-14tracing/kprobe: Check whether the non-suffixed symbol is notraceMasami Hiramatsu1-3/+24
2019-10-12tracing: Add locked_down checks to the open calls of files created for tracefsSteven Rostedt (VMware)1-1/+11
2019-09-28Merge branch 'next-lockdown' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-0/+5
2019-09-25tracing/probe: Fix same probe event argument matchingSrikar Dronamraju1-2/+3
2019-09-19tracing/probe: Reject exactly same probe eventMasami Hiramatsu1-8/+44
2019-09-19tracing/probe: Fix to allow user to enable events on unloaded modulesMasami Hiramatsu1-12/+5
2019-08-31tracing/probe: Add immediate string parameter supportMasami Hiramatsu1-0/+3
2019-08-31tracing/kprobe: Add per-probe delete from eventMasami Hiramatsu1-1/+24
2019-08-31tracing/kprobe: Add multi-probe per event supportMasami Hiramatsu1-6/+46
2019-08-31tracing/dynevent: Pass extra arguments to match operationMasami Hiramatsu1-2/+2
2019-08-31tracing/probe: Split trace_event related data from trace_probeMasami Hiramatsu1-42/+115
2019-08-19lockdown: Lock down tracing and perf kprobes when in confidentiality modeDavid Howells1-0/+5
2019-07-16tracing/kprobe: Check registered state using kprobeMasami Hiramatsu1-8/+15
2019-07-16tracing/probe: Add trace_event_call accesses APIsMasami Hiramatsu1-11/+12
2019-07-16tracing/probe: Add probe event name and group name accesses APIsMasami Hiramatsu1-12/+12
2019-07-16tracing/probe: Add trace flag access APIs for trace_probeMasami Hiramatsu1-10/+10
2019-07-16tracing/probe: Add trace_event_file access APIs for trace_probeMasami Hiramatsu1-56/+29
2019-07-16tracing/probe: Add trace_event_call register API for trace_probeMasami Hiramatsu1-17/+3
2019-07-16tracing/probe: Add trace_probe init and free functionsMasami Hiramatsu1-36/+13
2019-07-16tracing/kprobe: Set print format right after parsed commandMasami Hiramatsu1-16/+9
2019-05-25tracing/kprobe: Do not run kprobe boot tests if kprobe_event is on cmdlineSteven Rostedt (VMware)1-0/+8
2019-05-25tracing/kprobe: Add kprobe_event= boot parameterMasami Hiramatsu1-0/+54
2019-05-25tracing/kprobe: Cast user-space address correctlyMasami Hiramatsu1-1/+3
2019-05-25tracing/probe: Support user-space dereferenceMasami Hiramatsu1-0/+6
2019-05-25tracing/probe: Add ustring type for user-space stringMasami Hiramatsu1-3/+39
2019-04-02tracing: Use tracing error_log with probe eventsMasami Hiramatsu1-31/+46
2019-03-15Merge tag 'trace-v5.1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ros...Linus Torvalds1-12/+11
2019-03-14tracing/probe: Verify alloc_trace_*probe() resultMasami Hiramatsu1-2/+2
2019-03-14tracing/probe: Check event/group naming rule at parsingMasami Hiramatsu1-6/+1
2019-03-14tracing/probe: Check maxactive error casesMasami Hiramatsu1-3/+7
2019-03-12trace/probes: Remove kernel doc style from non kernel doc commentValdis Klētnieks1-1/+1
2019-03-01tracing/kprobes: Use probe_kernel_read instead of probe_mem_readMasami Hiramatsu1-1/+1
2019-02-15kprobe: Do not use uaccess functions to access kernel memory that can faultChangbin Du1-9/+1
2019-01-15tracing/kprobes: Fix NULL pointer dereference in trace_kprobe_create()Andrea Righi1-3/+9
2018-12-31Merge tag 'trace-v4.21' of git://git.kernel.org/pub/scm/linux/kernel/git/rost...Linus Torvalds1-184/+169
2018-12-10tracing: Consolidate trace_add/remove_event_call back to the nolock functionsSteven Rostedt (VMware)1-2/+2
2018-12-08tracing/kprobes: Use dyn_event framework for kprobe eventsMasami Hiramatsu1-145/+174
2018-12-08tracing: Integrate similar probe argument parsersMasami Hiramatsu1-46/+2
2018-11-27tracing: Replace synchronize_sched() and call_rcu_sched()Paul E. McKenney1-1/+1
2018-10-10tracing/kprobes: Allow kprobe-events to record module symbolMasami Hiramatsu1-1/+11
2018-10-10tracing/kprobes: Check the probe on unloaded module correctlyMasami Hiramatsu1-13/+26
2018-10-10tracing: probeevent: Add $argN for accessing function argsMasami Hiramatsu1-5/+13
2018-10-10tracing: probeevent: Unify fetch_insn processing common partMasami Hiramatsu1-40/+7
2018-10-10tracing: probeevent: Append traceprobe_ for exported functionMasami Hiramatsu1-2/+2
2018-10-10tracing: probeevent: Return consumed bytes of dynamic areaMasami Hiramatsu1-30/+27
2018-10-10tracing: probeevent: Unify fetch type tablesMasami Hiramatsu1-26/+1
2018-10-10tracing: probeevent: Introduce new argument fetching codeMasami Hiramatsu1-160/+131
2018-10-10tracing: probeevent: Cleanup argument field definitionMasami Hiramatsu1-28/+4
2018-10-10tracing: probeevent: Cleanup print argument functionsMasami Hiramatsu1-14/+6
2018-09-24tracing/kprobe: Remove unneeded extra strchr() from create_trace_kprobe()Steven Rostedt (VMware)1-3/+6
2018-08-23Merge tag 'trace-v4.19-1' of git://git.kernel.org/pub/scm/linux/kernel/git/ro...Linus Torvalds1-1/+8
2018-08-21tracing/kprobes: Fix to check notrace function with correct rangeMasami Hiramatsu1-1/+8
2018-08-20Merge tag 'trace-v4.19' of git://git.kernel.org/pub/scm/linux/kernel/git/rost...Linus Torvalds1-50/+66
2018-08-16tracing: Add SPDX License format tags to tracing filesSteven Rostedt (VMware)1-12/+1
2018-08-02tracing/kprobes: Fix within_notrace_func() to check only notrace functionsMasami Hiramatsu1-3/+5
2018-08-02Merge branch 'perf/urgent' into perf/core, to pick up fixesIngo Molnar1-2/+13
2018-07-30selftest/ftrace: Move kprobe selftest function to separate compile unitFrancis Deslauriers1-11/+1
2018-07-30tracing: kprobes: Prohibit probing on notrace functionMasami Hiramatsu1-9/+38
2018-07-27tracing/kprobes: Simplify the logic of enable_trace_kprobe()Steven Rostedt (VMware)1-18/+24
2018-07-25tracing: Quiet gcc warning about maybe unused link variableSteven Rostedt (VMware)1-2/+4
2018-07-25tracing/kprobes: Fix trace_probe flags on enable_trace_kprobe() failureArtem Savkov1-2/+11
2018-07-25Merge branch 'perf/urgent' into perf/core, to pick up fixesIngo Molnar1-1/+5
2018-07-11tracing/kprobe: Release kprobe print_fmt properlyJiri Olsa1-1/+5
2018-06-21bpf/error-inject/kprobes: Clear current_kprobe and enable preempt in kprobeMasami Hiramatsu1-8/+3
2018-05-24bpf: introduce bpf subcommand BPF_TASK_FD_QUERYYonghong Song1-0/+29
2018-04-17trace_kprobe: Remove warning message "Could not insert probe at..."Song Liu1-2/+0
2018-03-29Merge branch 'perf/urgent' into perf/coreIngo Molnar1-2/+2
2018-03-23tracing: probeevent: Fix to support minus offset from symbolMasami Hiramatsu1-2/+2
2018-02-17Merge branch 'perf/urgent' into perf/core, to pick up fixesIngo Molnar1-8/+53
2018-02-06perf/core: Implement the 'perf_kprobe' PMUSong Liu1-8/+83
2018-01-12error-injection: Separate error-injection from kprobeMasami Hiramatsu1-1/+2
2018-01-12tracing/kprobe: bpf: Compare instruction pointer with original oneMasami Hiramatsu1-14/+7
2018-01-12tracing/kprobe: bpf: Check error injectable event is on function entryMasami Hiramatsu1-3/+6
2017-12-17trace: reenable preemption if we modify the ipJosef Bacik1-1/+8
2017-12-12bpf: add a bpf_override_function helperJosef Bacik1-7/+48
2017-11-17Merge tag 'trace-v4.15' of git://git.kernel.org/pub/scm/linux/kernel/git/rost...Linus Torvalds1-11/+11
2017-11-11bpf: Revert bpf_overrid_function() helper changes.David S. Miller1-33/+7
2017-11-11bpf: add a bpf_override_function helperJosef Bacik1-7/+33
2017-10-25bpf: permit multiple bpf attachments for a single perf eventYonghong Song1-4/+2
2017-10-16perf/ftrace: Revert ("perf/ftrace: Fix double traces of perf on ftrace:functi...Peter Zijlstra1-2/+2
2017-10-04tracing: Make traceprobe parsing code reusableTom Zanussi1-9/+9
2017-08-29perf/ftrace: Fix double traces of perf on ftrace:functionZhou Chengming1-2/+2
2017-07-13Merge tag 'trace-v4.13-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ro...Linus Torvalds1-0/+9
2017-07-09trace/kprobes: Sanitize derived event namesNaveen N. Rao1-0/+9
2017-07-08kprobes: Rename [arch_]function_offset_within_entry() to [arch_]kprobe_on_fun...Naveen N. Rao1-1/+1
2017-06-29tracing/kprobes: Allow to create probe with a module name starting with a digitSabrina Dubroca1-9/+5
2017-05-17tracing/kprobes: Enforce kprobes teardown after testingThomas Gleixner1-0/+5
2017-05-03Merge tag 'trace-v4.12' of git://git.kernel.org/pub/scm/linux/kernel/git/rost...Linus Torvalds1-6/+33
2017-04-04tracing/kprobes: expose maxactive for kretprobe in kprobe_eventsAlban Crequy1-6/+33
2017-03-15trace/kprobes: Fix check for kretprobe offset within function entryNaveen N. Rao1-1/+1
2017-03-07Merge tag 'perf-core-for-mingo-4.11-20170306' of git://git.kernel.org/pub/scm...Ingo Molnar1-6/+3
2017-03-03trace/kprobes: Add back warning about offset in return probesSteven Rostedt (VMware)1-0/+5
2017-03-03trace/kprobes: Allow return probes with offsets and absolute addressesNaveen N. Rao1-8/+0
2017-03-02sched/headers: Prepare to use <linux/rcuupdate.h> instead of <linux/rculist.h...Ingo Molnar1-0/+1
2017-02-27Merge tag 'trace-v4.11' of git://git.kernel.org/pub/scm/linux/kernel/git/rost...Linus Torvalds1-0/+1
2017-02-15tracing/probe: Show subsystem name in messagesMasami Hiramatsu1-0/+1
2017-02-02tracing/kprobes: Fix __init annotationArnd Bergmann1-1/+1
2016-12-12kprobes/trace: Fix kprobe selftest for newer gccMarcin Nowakowski1-5/+23
2016-12-12tracing/kprobes: Add a helper method to return number of probe hitsMarcin Nowakowski1-6/+13
2016-08-23ftrace: kprobe: uprobe: Add x8/x16/x32/x64 for hexadecimal typesMasami Hiramatsu1-0/+4
2016-06-20tracing: expose current->comm to [ku]probe eventsOmar Sandoval1-0/+1
2016-04-07perf: split perf_trace_buf_prepare into alloc and update partsAlexei Starovoitov1-4/+6
2016-03-22kernel/...: convert pr_warning to pr_warnJoe Perches1-16/+11
2016-02-09kprobes: Optimize hot path by using percpu counter to collect 'nhit' statisticsMartin KaFai Lau1-4/+15
2015-08-28lib: introduce strncpy_from_unsafe()Alexei Starovoitov1-16/+4
2015-05-13tracing: Rename ftrace_trigger_soft_disabled() to trace_trigger_soft_disabled()Steven Rostedt (Red Hat)1-2/+2