aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_uprobe.c
AgeCommit message (Expand)AuthorFilesLines
2024-05-01uprobes: add speculative lockless system-wide uprobe filter checkAndrii Nakryiko1-3/+7
2024-05-01uprobes: prepare uprobe args buffer lazilyAndrii Nakryiko1-21/+28
2024-05-01uprobes: encapsulate preparation of uprobe args bufferAndrii Nakryiko1-37/+41
2024-03-07tracing/probes: Support $argN in return probe (kprobe and fprobe)Masami Hiramatsu (Google)1-6/+6
2024-03-07tracing/probes: cleanup: Set trace_probe::nr_args at trace_probe_initMasami Hiramatsu (Google)1-1/+1
2023-12-01tracing/uprobe: Replace strlcpy() with strscpy()Kees Cook1-1/+1
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-08-07bpf: Add support for bpf_get_func_ip helper for uprobe programJiri Olsa1-6/+1
2023-07-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+2
2023-07-16Merge tag 'probes-fixes-v6.5-rc1-2' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-1/+2
2023-07-14tracing/probes: Fix to record 0-length data_loc in fetch_store_string*() if f...Masami Hiramatsu (Google)1-1/+2
2023-07-13Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski1-1/+2
2023-07-11bpf: Clear the probe_addr for uprobeYafang Shao1-1/+2
2023-06-06tracing/probes: Move event parameter fetching code to common parserMasami Hiramatsu (Google)1-3/+5
2023-02-24kernel/trace: extract common part in process_fetch_insnSong Chen1-7/+4
2023-02-24kernel/trace: Introduce trace_probe_print_args and use it in *probesSong Chen1-1/+1
2022-12-15tracing/probes: Reject symbol/symstr type for uprobeMasami Hiramatsu (Google)1-1/+2
2022-08-05Merge tag 'trace-v6.0' of git://git.kernel.org/pub/scm/linux/kernel/git/roste...Linus Torvalds1-4/+8
2022-07-24tracing: Auto generate event name when creating a group of eventsLinyu Yuan1-4/+8
2022-07-09Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski1-0/+2
2022-06-30Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+0
2022-06-20uprobe: gate bpf call behind BPF_EVENTSDelyan Kratunov1-0/+2
2022-06-17tracing/uprobes: Remove unwanted initialization in __trace_uprobe_create()Gautam Menghani1-1/+0
2022-06-16bpf: implement sleepable uprobes by chaining gpsDelyan Kratunov1-3/+2
2022-01-16Merge tag 'trace-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/rost...Linus Torvalds1-22/+17
2022-01-13tracing/uprobes: Check the return value of kstrdup() for tu->filenameXiaoke Wang1-0/+5
2021-12-16add missing bpf-cgroup.h includesJakub Kicinski1-0/+1
2021-12-11tracing: Iterate trace_[ku]probe objects directlyJiri Olsa1-15/+8
2021-12-06tracing/uprobes: Use trace_event_buffer_reserve() helperSteven Rostedt (VMware)1-7/+4
2021-11-23tracing/uprobe: Fix uprobe_perf_open probes iterationJiri Olsa1-0/+1
2021-10-08tracing: Disable "other" permission bits in the tracefs filesSteven Rostedt (VMware)1-2/+2
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/+6
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-02-09tracing/dynevent: Delegate parsing to create functionMasami Hiramatsu1-6/+11
2021-02-02tracing: Fix spelling of controlling in uprobesBhaskar Chowdhury1-1/+1
2021-02-02tracing: Merge irqflags + preempt counter.Sebastian Andrzej Siewior1-2/+2
2020-09-21tracing/uprobes: Support perf-style return probeMasami Hiramatsu1-1/+14
2020-09-18tracing: make tracing_init_dentry() returns an integer instead of a d_entry p...Wei Yang1-5/+4
2020-08-03tracing/uprobe: Remove dead code in trace_uprobe_register()Peng Fan1-1/+0
2020-06-09tracing/probe: Fix bpf_task_fd_query() for kprobes and uprobesJean-Philippe Brucker1-1/+1
2020-02-24bpf: disable preemption for bpf progs attached to uprobeAlexei Starovoitov1-2/+9
2020-02-06Merge tag 'trace-v5.6-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ros...Linus Torvalds1-1/+1
2020-01-28Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-2/+7
2020-01-22tracing/uprobe: Fix to make trace_uprobe_filter alignment safeMasami Hiramatsu1-22/+7
2020-01-14tracing/uprobe: Fix double perf_event linking on multiprobe uprobeMasami Hiramatsu1-44/+80
2020-01-13tracing: Make struct ring_buffer less ambiguousSteven Rostedt (VMware)1-1/+1
2019-11-27ftrace: Rework event_create_dir()Peter Zijlstra1-2/+7
2019-10-12tracing: Add locked_down checks to the open calls of files created for tracefsSteven Rostedt (VMware)1-0/+11
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-08-31tracing/probe: Add immediate string parameter supportMasami Hiramatsu1-0/+3
2019-08-31tracing/uprobe: Add per-probe delete from eventMasami Hiramatsu1-1/+30
2019-08-31tracing/uprobe: Add multi-probe per uprobe event supportMasami Hiramatsu1-18/+42
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/+123
2019-07-18Merge tag 'trace-v5.3' of git://git.kernel.org/pub/scm/linux/kernel/git/roste...Linus Torvalds1-110/+70
2019-07-16tracing/probe: Add trace_event_call accesses APIsMasami Hiramatsu1-7/+8
2019-07-16tracing/probe: Add probe event name and group name accesses APIsMasami Hiramatsu1-11/+11
2019-07-16tracing/probe: Add trace flag access APIs for trace_probeMasami Hiramatsu1-9/+9
2019-07-16tracing/probe: Add trace_event_file access APIs for trace_probeMasami Hiramatsu1-29/+13
2019-07-16tracing/probe: Add trace_event_call register API for trace_probeMasami Hiramatsu1-19/+3
2019-07-16tracing/probe: Add trace_probe init and free functionsMasami Hiramatsu1-22/+5
2019-07-16tracing/uprobe: Set print format when parsing commandMasami Hiramatsu1-18/+7
2019-06-24Merge tag 'v5.2-rc6' into perf/core, to refresh branchIngo Molnar1-5/+10
2019-06-14tracing/uprobe: Fix obsolete comment on trace_uprobe_create()Eiichi Tsukata1-2/+0
2019-06-14tracing/uprobe: Fix NULL pointer dereference in trace_uprobe_create()Eiichi Tsukata1-3/+10
2019-06-03perf/core: Allow non-privileged uprobe for user processesSong Liu1-1/+1
2019-05-25tracing/probe: Support user-space dereferenceMasami Hiramatsu1-0/+7
2019-05-25tracing/probe: Add ustring type for user-space stringMasami Hiramatsu1-0/+12
2019-05-08tracing: uprobes: Re-enable $comm support for uprobe eventsMasami Hiramatsu1-2/+11
2019-04-02tracing: Use tracing error_log with probe eventsMasami Hiramatsu1-13/+31
2019-03-15Merge tag 'trace-v5.1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ros...Linus Torvalds1-5/+3
2019-03-14tracing/probe: Verify alloc_trace_*probe() resultMasami Hiramatsu1-1/+2
2019-03-14tracing/probe: Check event/group naming rule at parsingMasami Hiramatsu1-4/+1
2019-01-17tracing/uprobes: Fix output for multiple string argumentsAndreas Ziegler1-0/+7
2019-01-17tracing: uprobes: Fix typo in pr_fmt stringAndreas Ziegler1-1/+1
2018-12-10tracing: Consolidate trace_add/remove_event_call back to the nolock functionsSteven Rostedt (VMware)1-2/+2
2018-12-08tracing/uprobes: Use dyn_event framework for uprobe eventsMasami Hiramatsu1-130/+148
2018-12-08tracing: Integrate similar probe argument parsersMasami Hiramatsu1-42/+2
2018-12-08tracing/uprobes: Add busy check when cleanup all uprobesMasami Hiramatsu1-0/+7
2018-10-10tracing/uprobes: Fix to return -EFAULT if copy_from_user failedMasami Hiramatsu1-1/+1
2018-10-10tracing: probeevent: Add $argN for accessing function argsMasami Hiramatsu1-1/+1
2018-10-10tracing: probeevent: Unify fetch_insn processing common partMasami Hiramatsu1-41/+2
2018-10-10tracing: probeevent: Append traceprobe_ for exported functionMasami Hiramatsu1-2/+2
2018-10-10tracing: probeevent: Return consumed bytes of dynamic areaMasami Hiramatsu1-31/+30
2018-10-10tracing: probeevent: Unify fetch type tablesMasami Hiramatsu1-26/+1
2018-10-10tracing: probeevent: Introduce new argument fetching codeMasami Hiramatsu1-42/+85
2018-10-10tracing: probeevent: Cleanup argument field definitionMasami Hiramatsu1-13/+2
2018-10-10tracing: probeevent: Cleanup print argument functionsMasami Hiramatsu1-7/+2
2018-10-10trace_uprobe: support reference counter in fd-based uprobeSong Liu1-1/+3
2018-09-24trace_uprobe/sdt: Prevent multiple reference counter for same uprobeRavi Bangoria1-2/+35
2018-09-24uprobes: Support SDT markers having reference count (semaphore)Ravi Bangoria1-3/+35
2018-08-16tracing: Add SPDX License format tags to tracing filesSteven Rostedt (VMware)1-13/+1
2018-08-10uprobes: Use synchronize_rcu() not synchronize_sched()Steven Rostedt (VMware)1-1/+1
2018-05-24bpf: introduce bpf subcommand BPF_TASK_FD_QUERYYonghong Song1-0/+22
2018-04-26tracing: Fix bad use of igrab in trace_uprobe.cSong Liu1-21/+14
2018-04-15Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-0/+2
2018-04-12Merge tag 'trace-v4.17-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ro...Linus Torvalds1-19/+4
2018-04-11trace_uprobe: Simplify probes_seq_show()Ravi Bangoria1-18/+3
2018-04-11trace_uprobe: Use %lx to display offsetRavi Bangoria1-1/+1
2018-04-11tracing/uprobe: Add support for overlayfsHoward McLauchlan1-1/+1
2018-04-10tracing/uprobe_event: Fix strncpy corner caseMasami Hiramatsu1-0/+2
2018-02-17Merge branch 'perf/urgent' into perf/core, to pick up fixesIngo Molnar1-1/+1
2018-02-06perf/core: Implement the 'perf_uprobe' PMUSong Liu1-8/+78
2018-01-23trace_uprobe: Display correct offset in uprobe_eventsRavi Bangoria1-1/+1
2017-11-17Merge tag 'trace-v4.15' of git://git.kernel.org/pub/scm/linux/kernel/git/rost...Linus Torvalds1-2/+2
2017-10-25bpf: permit multiple bpf attachments for a single perf eventYonghong Song1-2/+1
2017-10-16perf/ftrace: Revert ("perf/ftrace: Fix double traces of perf on ftrace:functi...Peter Zijlstra1-1/+1
2017-10-04tracing: Make traceprobe parsing code reusableTom Zanussi1-1/+1
2017-08-29perf/ftrace: Fix double traces of perf on ftrace:functionZhou Chengming1-1/+1
2017-03-02sched/headers: Prepare to use <linux/rcuupdate.h> instead of <linux/rculist.h...Ingo Molnar1-0/+1
2017-02-15tracing/probe: Show subsystem name in messagesMasami Hiramatsu1-0/+1
2017-01-17uprobe: Find last occurrence of ':' when parsing uprobe PATH:OFFSETKenny Yu1-1/+2
2016-10-06Merge tag 'trace-v4.9' of git://git.kernel.org/pub/scm/linux/kernel/git/roste...Linus Torvalds1-4/+0
2016-09-01tracing/uprobe: Drop isdigit() check in create_trace_uprobeDmitry Safonov1-4/+0
2016-08-23ftrace: kprobe: uprobe: Add x8/x16/x32/x64 for hexadecimal typesMasami Hiramatsu1-0/+4
2016-04-07perf: split perf_trace_buf_prepare into alloc and update partsAlexei Starovoitov1-2/+3
2016-03-22kernel/...: convert pr_warning to pr_warnJoe Perches1-1/+1
2015-08-26tracing/uprobes: Do not print '0x (null)' when offset is 0Wang Nan1-1/+16
2015-08-06tracing, perf: Implement BPF programs attached to uprobesWang Nan1-0/+5
2015-05-13tracing: Rename ftrace_trigger_soft_disabled() to trace_trigger_soft_disabled()Steven Rostedt (Red Hat)1-1/+1
2015-05-13tracing: Rename ftrace_event_name() to trace_event_name()Steven Rostedt (Red Hat)1-7/+7
2015-05-13tracing: Rename ftrace_event_{call,class} to trace_event_{call,class}Steven Rostedt (Red Hat)1-6/+6
2015-05-13tracing: Rename ftrace_event_file to trace_event_fileSteven Rostedt (Red Hat)1-8/+8
2015-05-13tracing: Rename (un)register_ftrace_event() to (un)register_trace_event()Steven Rostedt (Red Hat)1-2/+2
2015-04-26Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-1/+1
2015-04-15VFS: kernel/: d_inode() annotationsDavid Howells1-1/+1
2015-04-14Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-5/+5
2015-03-27Merge branch 'perf/x86' into perf/core, because it's readyIngo Molnar1-5/+5
2015-03-25trace: Don't use __weak in header filesStephen Rothwell1-2/+3
2015-03-23perf: Remove type specific target pointersPeter Zijlstra1-5/+5
2015-02-12Merge tag 'trace-v3.20' of git://git.kernel.org/pub/scm/linux/kernel/git/rost...Linus Torvalds1-1/+1
2015-01-22tracing: Use IS_ERR() check for return value of tracing_init_dentry()Steven Rostedt (Red Hat)1-1/+1
2015-01-14perf: Avoid horrible stack usagePeter Zijlstra (Intel)1-1/+1
2014-11-19tracing: Deletion of an unnecessary check before iput()Markus Elfring1-2/+1
2014-11-19tracing/uprobes: Do not use return values of trace_seq_printf()Steven Rostedt (Red Hat)1-13/+10
2014-11-14trace: Replace single-character seq_puts with seq_putcRasmus Villemoes1-1/+1
2014-11-13tracing: Replace seq_printf by simpler equivalentsRasmus Villemoes1-1/+1
2014-07-16tracing/uprobes: Kill the dead TRACE_EVENT_FL_USE_CALL_FILTER logicOleg Nesterov1-2/+1
2014-06-30tracing/uprobes: Fix the usage of uprobe_buffer_enable() in probe_event_enable()Oleg Nesterov1-12/+19
2014-06-30tracing/uprobes: Kill the bogus UPROBE_HANDLER_REMOVE code in uprobe_dispatch...Oleg Nesterov1-6/+0
2014-06-30tracing/uprobes: Revert "Support mix of ftrace and perf"Oleg Nesterov1-1/+8
2014-06-05Merge branch 'perf/kprobes' into perf/coreIngo Molnar1-10/+10
2014-04-30uprobes/tracing: Fix uprobe_perf_open() on uprobe_apply() failureOleg Nesterov1-5/+9
2014-04-30uprobes/tracing: Make uprobe_perf_close() visible to uprobe_perf_open()Oleg Nesterov1-18/+18
2014-04-24kprobes, ftrace: Allow probing on some functionsMasami Hiramatsu1-10/+10
2014-04-17tracing/uprobes: Fix uprobe_cpu_buffer memory leakzhangwei(Jovi)1-0/+6
2014-04-08tracepoint: Use struct pointer instead of name hash for reg/unreg tracepointsMathieu Desnoyers1-7/+13
2014-02-20tracing/uprobes: Support mix of ftrace and perfNamhyung Kim1-8/+1
2014-02-20tracing/uprobes: Support event triggeringNamhyung Kim1-2/+4
2014-02-20tracing/uprobes: Support ftrace_event_file base multibufferzhangwei(Jovi)1-21/+84
2014-02-20tracing/uprobes: Move argument fetching to uprobe_dispatcher()Namhyung Kim1-37/+56
2014-02-20tracing/uprobes: Rename uprobe_{trace,perf}_print() functionsNamhyung Kim1-6/+6
2014-01-03tracing/probes: Fix build break on !CONFIG_KPROBE_EVENTNamhyung Kim1-8/+0
2014-01-02tracing/uprobes: Add @+file_offset fetch methodNamhyung Kim1-0/+40
2014-01-02tracing/uprobes: Fetch args before reserving a ring bufferNamhyung Kim1-14/+132
2014-01-02tracing/uprobes: Pass 'is_return' to traceprobe_parse_probe_arg()Namhyung Kim1-1/+1
2014-01-02tracing/probes: Implement 'memory' fetch method for uprobesNamhyung Kim1-0/+52
2014-01-02tracing/probes: Move 'symbol' fetch method to kprobesNamhyung Kim1-0/+8
2014-01-02tracing/probes: Implement 'stack' fetch method for uprobesNamhyung Kim1-0/+41
2014-01-02tracing/probes: Split [ku]probes_fetch_type_tableNamhyung Kim1-0/+20
2014-01-02tracing/probes: Integrate duplicate set_print_fmt()Namhyung Kim1-54/+1
2014-01-02tracing/uprobes: Convert to struct trace_probeNamhyung Kim1-80/+79
2014-01-02tracing/uprobes: Fix documentation of uprobe registration syntaxNamhyung Kim1-1/+1
2013-11-05tracing: Update event filters for multibufferTom Zanussi1-1/+2
2013-08-01tracing/uprobes: Fail to unregister if probe event files are in useSteven Rostedt (Red Hat)1-13/+38
2013-07-18tracing/perf: Move the PERF_MAX_TRACE_SIZE check into perf_trace_buf_prepare()Oleg Nesterov1-2/+0
2013-07-02uprobes: Fix return value in error handling pathzhangwei(Jovi)1-1/+3
2013-04-15uprobes/perf: Avoid perf_trace_buf_prepare/submit if ->perf_events is emptyOleg Nesterov1-1/+4
2013-04-13uprobes/tracing: Don't pass addr=ip to perf_trace_buf_submit()Oleg Nesterov1-5/+3
2013-04-13uprobes/tracing: Change create_trace_uprobe() to support uretprobesOleg Nesterov1-4/+7
2013-04-13uprobes/tracing: Make seq_printf() code uretprobe-friendlyOleg Nesterov1-4/+13
2013-04-13uprobes/tracing: Make register_uprobe_event() paths uretprobe-friendlyOleg Nesterov1-4/+15
2013-04-13uprobes/tracing: Make uprobe_{trace,perf}_print() uretprobe-friendlyOleg Nesterov1-9/+25
2013-04-13uprobes/tracing: Introduce is_ret_probe() and uretprobe_dispatcher()Oleg Nesterov1-2/+40
2013-04-13uprobes/tracing: Introduce uprobe_{trace,perf}_print() helpersOleg Nesterov1-9/+20
2013-04-13uprobes/tracing: Generalize struct uprobe_trace_entry_headOleg Nesterov1-26/+36
2013-04-13uprobes/tracing: Kill the pointless local_save_flags/preempt_count callsOleg Nesterov1-7/+3
2013-04-13uprobes/tracing: Kill the pointless seq_print_ip_sym() callOleg Nesterov1-7/+1
2013-04-13uprobes/tracing: Kill the pointless task_pt_regs() callsOleg Nesterov1-2/+2
2013-02-08uprobes/perf: Avoid uprobe_apply() whenever possibleOleg Nesterov1-6/+36
2013-02-08uprobes/perf: Teach trace_uprobe/perf code to use UPROBE_HANDLER_REMOVEOleg Nesterov1-7/+14
2013-02-08uprobes/perf: Teach trace_uprobe/perf code to pre-filterOleg Nesterov1-3/+43
2013-02-08uprobes/perf: Teach trace_uprobe/perf code to track the active perf_event'sOleg Nesterov1-0/+55
2013-02-08uprobes/perf: Always increment trace_uprobe->nhitOleg Nesterov1-2/+1
2013-02-08uprobes/tracing: Kill uprobe_trace_consumer, embed uprobe_consumer into trace...Oleg Nesterov1-29/+6
2013-02-08uprobes/tracing: Introduce is_trace_uprobe_enabled()Oleg Nesterov1-2/+7
2013-02-08uprobes/tracing: Ensure inode != NULL in create_trace_uprobe()Oleg Nesterov1-3/+3
2013-02-08uprobes/tracing: Fully initialize uprobe_trace_consumer before uprobe_register()Oleg Nesterov1-6/+7
2013-02-08uprobes/tracing: Fix dentry/mount leak in create_trace_uprobe()Oleg Nesterov1-4/+6
2013-02-08uprobes: Change handle_swbp() to expose bp_vaddr to handler_chain()Oleg Nesterov1-2/+2
2013-02-08uprobes: Kill uprobe_consumer->filter()Oleg Nesterov1-1/+0
2013-01-21tracing: Verify target file before registering a uprobe eventJovi Zhang1-1/+5
2012-12-17trace: use kbasename()Andy Shevchenko1-4/+4