aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ftrace.h
AgeCommit message (Expand)AuthorFilesLines
3 daysftrace: riscv: move from REGS to ARGSPuranjay Mohan1-1/+2
11 daysftrace: Remove unused global 'ftrace_direct_func_count'Dr. David Alan Gilbert1-2/+0
11 daysftrace: Remove unused list 'ftrace_direct_funcs'Dr. David Alan Gilbert1-1/+0
2024-03-18tracing: Support to dump instance traces by ftrace_dump_on_oopsHuang Yiwei1-1/+3
2023-08-22ftrace: Remove empty declaration ftrace_enable_daemon() and ftrace_disable_da...Zhang Zekun1-5/+0
2023-07-28ftrace: Remove unused extern declarationsYueHaibing1-4/+0
2023-07-12tracing: arm64: Avoid missing-prototype warningsArnd Bergmann1-0/+9
2023-06-22ftrace: Show all functions with addresses in available_filter_functions_addrsJiri Olsa1-0/+1
2023-06-20function_graph: Support recording and printing the return value of functionDonglin Peng1-0/+3
2023-05-05Merge tag 'trace-v6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-1/+3
2023-05-05ftrace: Add MODIFIED flag to show if IPMODIFY or direct was attachedSteven Rostedt (Google)1-1/+3
2023-04-28Merge tag 'trace-v6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...Linus Torvalds1-1/+4
2023-04-25Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/a...Linus Torvalds1-40/+21
2023-04-03ftrace: Mark get_lock_parent_ip() __always_inlineJohn Keeping1-1/+1
2023-03-21ftrace: Show a list of all functions that have ever been enabledSteven Rostedt (Google)1-1/+4
2023-03-21ftrace: selftest: remove broken trace_direct_trampMark Rutland1-0/+2
2023-03-21ftrace: Make DIRECT_CALLS work WITH_ARGS and !WITH_REGSFlorent Revest1-0/+6
2023-03-21ftrace: Store direct called addresses in their opsFlorent Revest1-0/+3
2023-03-21ftrace: Rename _ftrace_direct_multi APIs to _ftrace_direct APIsFlorent Revest1-10/+10
2023-03-21ftrace: Remove the legacy _ftrace_direct APIFlorent Revest1-32/+0
2023-03-21ftrace: Let unregister_ftrace_direct_multi() call ftrace_free_filter()Florent Revest1-2/+4
2023-01-24ftrace: Add DYNAMIC_FTRACE_WITH_CALL_OPSMark Rutland1-4/+14
2022-11-18ftrace: abstract DYNAMIC_FTRACE_WITH_ARGS accessesMark Rutland1-0/+29
2022-11-18ftrace: rename ftrace_instruction_pointer_set() -> ftrace_regs_set_instructio...Mark Rutland1-5/+4
2022-11-18ftrace: pass fregs to arch_ftrace_set_direct_caller()Mark Rutland1-5/+4
2022-09-27ftrace: Remove obsoleted code from ftrace and task_structGaosheng Cui1-41/+0
2022-07-22ftrace: Allow IPMODIFY and DIRECT ops on the same functionSong Liu1-0/+38
2022-07-22ftrace: Add modify_ftrace_direct_multi_nolockSong Liu1-0/+5
2022-05-29Merge tag 'trace-v5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/rost...Linus Torvalds1-2/+2
2022-05-26ftrace: Remove return value of ftrace_arch_modify_*()Li kunyu1-2/+2
2022-05-26Merge tag 'sysctl-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-3/+0
2022-05-10ftrace: Add ftrace_lookup_symbols functionJiri Olsa1-0/+6
2022-04-06ftrace: move sysctl_ftrace_enabled to ftrace.cWei Xiao1-3/+0
2022-04-03Merge tag 'trace-v5.18-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ro...Linus Torvalds1-1/+15
2022-04-02ftrace: Make ftrace_graph_is_dead() a static branchChristophe Leroy1-1/+15
2022-03-24Merge tag 'net-next-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds1-0/+3
2022-03-17ftrace: Add ftrace_set_filter_ips functionJiri Olsa1-0/+3
2022-03-11tracing: Add snapshot at end of kernel boot upSteven Rostedt (Google)1-1/+10
2021-10-21ftrace: Add multi direct modify interfaceJiri Olsa1-0/+6
2021-10-21ftrace: Add multi direct register/unregister interfaceJiri Olsa1-0/+11
2021-10-20x86/ftrace: Make function graph use ftrace directlySteven Rostedt (VMware)1-0/+9
2021-10-19tracing: Use linker magic instead of recasting ftrace_ops_list_func()Steven Rostedt (VMware)1-2/+10
2021-08-03ftrace: Introduce ftrace_need_init_nop()Ilya Leoshkevich1-0/+16
2021-03-23tracing: Fix various typos in commentsIngo Molnar1-2/+2
2021-02-09ftrace: Remove unused ftrace_force_update()Jinyang He1-2/+0
2020-11-13livepatch: Use the default ftrace_ops instead of REGS when ARGS is availableSteven Rostedt (VMware)1-0/+7
2020-11-13ftrace/x86: Allow for arguments to be passed in to ftrace_regs by defaultSteven Rostedt (VMware)1-1/+6
2020-11-13ftrace: Have the callbacks receive a struct ftrace_regs instead of pt_regsSteven Rostedt (VMware)1-2/+14
2020-11-10fgraph: Make overruns 4 bytes in graph stack structureSteven Rostedt (VMware)1-2/+2
2020-11-06ftrace: Reverse what the RECURSION flag means in the ftrace_opsSteven Rostedt (VMware)1-6/+6
2020-11-06ftrace: Move the recursion testing into global headersSteven Rostedt (VMware)1-0/+1
2020-10-08ftrace: ftrace_global_list is renamed to ftrace_ops_listWei Yang1-2/+2
2020-10-08ftrace: Simplify the dyn_ftrace->flags macroWei Yang1-5/+2
2020-09-18ftrace: Let ftrace_enable_sysctl take a kernel pointer bufferTobias Klauser1-2/+1
2020-06-15ftrace: Add symbols for ftrace trampolinesAdrian Hunter1-4/+8
2020-06-10Merge branch 'work.sysctl' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-3/+2
2020-06-08trace: fix an incorrect __user annotation on stack_trace_sysctlChristoph Hellwig1-3/+2
2020-05-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-0/+23
2020-05-12x86/ftrace: Have ftrace trampolines turn read-only at the end of system boot upSteven Rostedt (VMware)1-0/+23
2020-04-27sysctl: pass kernel pointers to ->proc_handlerChristoph Hellwig1-2/+1
2019-12-11Merge tag 'trace-v5.5-3' of git://git.kernel.org/pub/scm/linux/kernel/git/ros...Linus Torvalds1-0/+5
2019-12-10ftrace: Fix function_graph tracer interaction with BPF trampolineAlexei Starovoitov1-0/+5
2019-11-27Merge tag 'trace-v5.5' of git://git.kernel.org/pub/scm/linux/kernel/git/roste...Linus Torvalds1-20/+92
2019-11-22ftrace: Use BIT() macroEnrico Weigelt, metux IT consult1-18/+18
2019-11-20ftrace: Return ENOTSUPP when DYNAMIC_FTRACE_WITH_DIRECT_CALLS is not configuredAlexei Starovoitov1-3/+3
2019-11-18ftrace: Add a helper function to modify_ftrace_direct() to allow arch optimiz...Steven Rostedt (VMware)1-2/+19
2019-11-14ftrace: Add modify_ftrace_direct()Steven Rostedt (VMware)1-0/+6
2019-11-13ftrace/x86: Add a counter to test function_graph with directSteven Rostedt (VMware)1-0/+2
2019-11-13ftrace/x86: Add register_ftrace_direct() for custom trampolinesSteven Rostedt (VMware)1-0/+6
2019-11-13ftrace: Add ftrace_find_direct_func()Steven Rostedt (VMware)1-0/+6
2019-11-13ftrace: Add register_ftrace_direct()Steven Rostedt (VMware)1-2/+34
2019-11-06module/ftrace: handle patchable-function-entryMark Rutland1-0/+5
2019-11-06ftrace: add ftrace_init_nop()Mark Rutland1-3/+32
2019-11-04ftrace: Introduce PERMANENT ftrace_ops flagMiroslav Benes1-0/+3
2019-05-25ftrace: Make enable and update parameters bool when applicableSteven Rostedt (VMware)1-2/+2
2019-05-15Merge tag 'trace-v5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/roste...Linus Torvalds1-0/+2
2019-04-29function_graph: Place ftrace_graph_entry_stub() prototype in include/linux/ft...Steven Rostedt (VMware)1-0/+2
2019-04-29tracing: Cleanup stack trace codeThomas Gleixner1-14/+4
2018-12-31Merge tag 'trace-v4.21' of git://git.kernel.org/pub/scm/linux/kernel/git/rost...Linus Torvalds1-21/+15
2018-12-10ftrace: Allow ftrace_replace_code() to be schedulableSteven Rostedt (VMware)1-0/+1
2018-12-08function_graph: Have profiler use new helper ftrace_graph_get_ret_stack()Steven Rostedt (VMware)1-0/+3
2018-12-08fgraph: Add new fgraph_ops structure to enable function graph hooksSteven Rostedt (VMware)1-10/+11
2018-12-08function_graph: Remove the use of FTRACE_NOTRACE_DEPTHSteven Rostedt (VMware)1-1/+0
2018-12-03Merge tag 'v4.20-rc5' into x86/cleanups, to sync up the treeIngo Molnar1-2/+2
2018-11-29function_graph: Remove unused task_curr_ret_stack()Steven Rostedt (VMware)1-10/+0
2018-11-27function_graph: Make ftrace_push_return_trace() staticSteven Rostedt (VMware)1-3/+0
2018-11-26function_graph: Create function_graph_enter() to consolidate architecture codeSteven Rostedt (VMware)1-0/+3
2018-11-23x86/headers: Fix -Wmissing-prototypes warningYi Wang1-0/+3
2018-07-31tracing: Centralize preemptirq tracepoints and unify their usageJoel Fernandes (Google)1-10/+1
2018-07-26tracing: Remove orphaned function ftrace_nr_registered_ops()Masami Hiramatsu1-6/+0
2018-07-03ftrace: Nuke clear_ftrace_functionYisheng Xie1-2/+0
2018-06-15docs: Fix some broken referencesMauro Carvalho Chehab1-1/+1
2018-01-29Merge tag 'init_task-20180117' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-12/+0
2018-01-23ftrace, orc, x86: Handle ftrace dynamically allocated trampolinesSteven Rostedt (VMware)1-0/+2
2018-01-17Expand various INIT_* macros and removeDavid Howells1-12/+0
2017-11-17Merge tag 'trace-v4.15' of git://git.kernel.org/pub/scm/linux/kernel/git/rost...Linus Torvalds1-70/+43
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-10-16ftrace: Kill FTRACE_OPS_FL_PER_CPUPeter Zijlstra1-69/+14
2017-10-10tracing: Add support for preempt and irq enable/disable eventsJoel Fernandes1-1/+2
2017-10-05ftrace/kallsyms: Have /proc/kallsyms show saved mod init functionsSteven Rostedt (VMware)1-0/+9
2017-10-05ftrace: Save module init functions kallsyms symbols for tracingSteven Rostedt (VMware)1-2/+18
2017-10-04ftrace: Add a ftrace_free_mem() function for modules to useSteven Rostedt (VMware)1-0/+2
2017-08-31ftrace: Fix debug preempt config name in stack_tracer_{en,dis}ableZev Weiss1-2/+2
2017-07-20trace: fix the errors caused by incompatible type of RCU variablesChunyan Zhang1-3/+3
2017-06-26ftrace: Have cached module filters be an active filterSteven Rostedt (VMware)1-0/+2
2017-06-26ftrace: Have the cached module list show in set_ftrace_filterSteven Rostedt (VMware)1-1/+2
2017-06-21ftrace: Add missing comment for FTRACE_OPS_FL_RCUSteven Rostedt (VMware)1-0/+1
2017-05-08scripts/spelling.txt: add regsiter -> register spelling mistakeStephen Boyd1-1/+1
2017-04-20ftrace: Have the function probes call their own functionSteven Rostedt (VMware)1-2/+2
2017-04-20ftrace: Move the function commands into the tracing directorySteven Rostedt (VMware)1-19/+0
2017-04-18ftrace: Move the probe function into the tracing directorySteven Rostedt (VMware)1-24/+0
2017-04-10tracing: Rename trace_active to disable_stack_tracer and inline its modificationSteven Rostedt (VMware)1-2/+34
2017-04-10tracing: Add stack_tracer_disable/enable() functionsSteven Rostedt (VMware)1-0/+6
2017-04-03ftrace: Have init/main.c call ftrace directly to free init memorySteven Rostedt (VMware)1-3/+3
2017-03-24ftrace: Allow for function tracing to record init functions on boot upSteven Rostedt (VMware)1-0/+5
2017-03-24tracing: Split tracing initialization into two for early initializationSteven Rostedt (VMware)1-0/+2
2016-12-15Merge tag 'trace-v4.10' of git://git.kernel.org/pub/scm/linux/kernel/git/rost...Linus Torvalds1-0/+4
2016-11-23tracing: Make tracepoint_printk a static_keySteven Rostedt (Red Hat)1-0/+4
2016-11-15ftrace: Provide API to use global filtering for ftrace opsJoel Fernandes1-0/+2
2016-10-06Merge tag 'trace-v4.9' of git://git.kernel.org/pub/scm/linux/kernel/git/roste...Linus Torvalds1-0/+2
2016-09-01ftrace: Access ret_stack->subtime only in the function profilerNamhyung Kim1-0/+2
2016-08-24ftrace: Add ftrace_graph_ret_addr() stack unwinding helpersJosh Poimboeuf1-0/+10
2016-08-24ftrace: Add return address pointer to ftrace_ret_stackJosh Poimboeuf1-1/+4
2016-08-24ftrace: Only allocate the ret_stack 'fp' field when neededJosh Poimboeuf1-0/+2
2016-07-05ftrace: Reduce size of function graph entriesNamhyung Kim1-4/+8
2016-05-17Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds1-0/+1
2016-04-15Merge branch 'topic/livepatch' of git://git.kernel.org/pub/scm/linux/kernel/g...Jiri Kosina1-0/+1
2016-04-14ftrace: Make ftrace_location_range() globalMichael Ellerman1-0/+1
2016-03-25arch, ftrace: for KASAN put hard/soft IRQ entries into separate sectionsAlexander Potapenko1-11/+0
2016-02-29sched/debug: Fix preempt_disable_ip recording for preempt_disable()Sebastian Andrzej Siewior1-0/+12
2016-02-18Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds1-2/+4
2016-02-17ftrace/module: remove ftrace module notifierJessica Yu1-2/+4
2016-01-28Merge tag 'trace-v4.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/r...Linus Torvalds1-1/+0
2016-01-14ftrace: Remove unused nr_trampolines varDmitry Safonov1-1/+0
2016-01-12Merge tag 'trace-v4.5' of git://git.kernel.org/pub/scm/linux/kernel/git/roste...Linus Torvalds1-19/+37
2016-01-07ftrace: Add infrastructure for delayed enabling of module functionsSteven Rostedt (Red Hat)1-2/+4
2016-01-07ftrace/module: Call clean up function when module init fails earlySteven Rostedt (Red Hat)1-0/+1
2015-12-23ftrace: Remove use of control list and opsSteven Rostedt (Red Hat)1-17/+18
2015-11-25ftrace: Add variable ftrace_expected for archs to show expected codeSteven Rostedt (Red Hat)1-0/+6
2015-11-25ftrace: Add new type to distinguish what kind of ftrace_bug()Steven Rostedt (Red Hat)1-0/+9
2015-11-03tracing: Rename max_stack_lock to stack_trace_max_lockSteven Rostedt (Red Hat)1-1/+1
2015-11-03tracing: Allow arch-specific stack tracerAKASHI Takahiro1-0/+11
2015-07-24ftrace: Fix breakage of set_ftrace_pidSteven Rostedt (Red Hat)1-0/+3
2014-12-15tracing: Add tp_printk cmdline to have tracepoints go to printk()Steven Rostedt (Red Hat)1-0/+1
2014-12-15tracing: Move enabling tracepoints to just after rcu_init()Steven Rostedt (Red Hat)1-0/+6
2014-11-21ftrace, kprobes: Support IPMODIFY flag to find IP modify conflictMasami Hiramatsu1-2/+14
2014-11-19ftrace/x86/extable: Add is_ftrace_trampoline() functionSteven Rostedt (Red Hat)1-0/+8
2014-11-11ftrace: Add more information to ftrace_bug() outputSteven Rostedt (Red Hat)1-1/+3
2014-10-31ftrace/x86: Add dynamic allocated trampoline for ftrace_opsSteven Rostedt (Red Hat)1-0/+8
2014-09-10ftrace: Replace tramp_hash with old_*_hash to save spaceSteven Rostedt (Red Hat)1-1/+1
2014-09-10ftrace: Annotate the ops operation on updateSteven Rostedt (Red Hat)1-0/+6
2014-09-09ftrace: Add helper function ftrace_ops_get_func()Steven Rostedt (Red Hat)1-0/+2
2014-08-22ftrace: Allow ftrace_ops to use the hashes from other opsSteven Rostedt (Red Hat)1-3/+11
2014-07-23ftrace: Rename ftrace_ops field from trampolines to nr_trampolinesSteven Rostedt (Red Hat)1-1/+1
2014-07-18tracing: Remove function_trace_stop and HAVE_FUNCTION_TRACE_MCOUNT_TESTSteven Rostedt (Red Hat)1-2/+0
2014-07-18ftrace: Remove check for HAVE_FUNCTION_TRACE_MCOUNT_TESTSteven Rostedt (Red Hat)1-2/+1
2014-07-18ftrace: Remove ftrace_start/stop()Steven Rostedt (Red Hat)1-28/+0
2014-07-17ftrace-graph: Remove dependency of ftrace_stop() from ftrace_graph_stop()Steven Rostedt (Red Hat)1-0/+1
2014-07-16ftrace: Allow archs to specify if they need a separate function graph trampolineSteven Rostedt (Red Hat)1-0/+10
2014-07-01ftrace: Optimize function graph to be called directlySteven Rostedt (Red Hat)1-5/+14
2014-06-30ftrace: Add ftrace_rec_counter() macro to simplify the codeSteven Rostedt (Red Hat)1-0/+2
2014-06-30ftrace: Use macros for numbers in ftrace rec shift bitsSteven Rostedt (Red Hat)1-2/+5
2014-06-09Merge tag 'trace-3.16' of git://git.kernel.org/pub/scm/linux/kernel/git/roste...Linus Torvalds1-14/+10
2014-05-21ftrace: Make CALLER_ADDRx macros more genericAKASHI Takahiro1-16/+18
2014-05-14ftrace: Remove FTRACE_UPDATE_MODIFY_CALL_REGS flagSteven Rostedt (Red Hat)1-2/+0
2014-05-14ftrace: Make get_ftrace_addr() and get_ftrace_addr_old() globalSteven Rostedt (Red Hat)1-0/+2
2014-04-28ftrace/module: Hardcode ftrace_module_init() call into load_module()Steven Rostedt (Red Hat)1-0/+2
2014-04-21ftrace: Remove global function list and call function directlySteven Rostedt (Red Hat)1-12/+8
2014-03-11ftrace: Constify ftrace_text_reservedSasha Levin1-2/+2
2014-03-07ftrace: Remove freelist from struct dyn_ftraceJiri Slaby1-5/+2
2014-03-07ftrace: Do not pass data to ftrace_dyn_arch_initJiri Slaby1-1/+1
2014-02-20ftrace: Allow for function tracing instance to filter functionsSteven Rostedt (Red Hat)1-0/+2
2014-02-20ftrace: Add private data to ftrace_opsSteven Rostedt (Red Hat)1-0/+12
2014-01-02tracing: Add generic tracing_lseek() functionSteven Rostedt (Red Hat)1-2/+0
2013-11-05tracing: Make register/unregister_ftrace_command __initTom Zanussi1-2/+2
2013-10-18ftrace: Add set_graph_notrace filterNamhyung Kim1-0/+1
2013-06-19tracing: Disable tracing on warningSteven Rostedt (Red Hat)1-0/+5
2013-06-11ftrace: Remove ftrace_regex_lseek()Li Zefan1-4/+0
2013-05-09ftrace, kprobes: Fix a deadlock on ftrace_regex_lockMasami Hiramatsu1-0/+4
2013-04-29Merge tag 'trace-3.10' of git://git.kernel.org/pub/scm/linux/kernel/git/roste...Linus Torvalds1-2/+4
2013-04-12ftrace: Move ftrace_filter_lseek out of CONFIG_DYNAMIC_FTRACE sectionSteven Rostedt (Red Hat)1-1/+2
2013-04-12tracing: Fix possible NULL pointer dereferencesNamhyung Kim1-1/+1
2013-04-08ftrace: Do not call stub functions in control loopSteven Rostedt (Red Hat)1-0/+2
2013-03-15ftrace: Clean up function probe methodsSteven Rostedt (Red Hat)1-2/+4
2013-01-21ftrace: Move ARCH_SUPPORTS_FTRACE_SAVE_REGS in KconfigMasami Hiramatsu1-3/+3
2012-12-17lseek: the "whence" argument is called "whence"Andrew Morton1-2/+2
2012-07-31ftrace: Make ftrace_location() a nop on !DYNAMIC_FTRACESteven Rostedt1-1/+5
2012-07-31ftrace: add ftrace_set_filter_ip() for address based filterMasami Hiramatsu1-0/+3
2012-07-31ftrace: Add selftest to test function trace recursion protectionSteven Rostedt1-0/+6
2012-07-31ftrace: Add default recursion protection for function tracingSteven Rostedt1-0/+5
2012-07-19ftrace/x86: Add separate function to save regsSteven Rostedt1-7/+100
2012-07-19ftrace: Return pt_regs to function trace callbackSteven Rostedt1-2/+4
2012-07-19ftrace: Consolidate arch dependent functions with 'list' functionSteven Rostedt1-0/+13
2012-07-19ftrace: Pass ftrace_ops as third parameter to function trace callbackSteven Rostedt1-2/+14
2012-05-16ftrace/x86: Have x86 ftrace use the ftrace_modify_all_code()Steven Rostedt1-0/+1
2012-05-16ftrace: Make ftrace_modify_all_code() global for archs to useSteven Rostedt1-0/+2
2012-05-16ftrace: Return record ip addr for ftrace_location()Steven Rostedt1-1/+1
2012-05-08tracing: Prevent wasting time evaluating parameters in trace_preempt_on/offMinho Ban1-2/+6
2012-04-27ftrace/x86: Have arch x86_64 use breakpoints instead of stop machineSteven Rostedt1-0/+6
2012-02-21ftrace, perf: Add filter support for function trace eventJiri Olsa1-3/+4