aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/ftrace.c
AgeCommit message (Expand)AuthorFilesLines
10 daysMerge tag 'trace-v6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/trac...Linus Torvalds1-33/+35
10 daysMerge tag 'probes-v6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/tra...Linus Torvalds1-0/+1
10 daysMerge tag 'sysctl-6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+0
12 dayskprobe/ftrace: bail out if ftrace was killedStephen Brennan1-0/+1
14 daysftrace: Fix possible use-after-free issue in ftrace_location()Zheng Yejian1-16/+23
14 daysftrace: Remove unused global 'ftrace_direct_func_count'Dr. David Alan Gilbert1-1/+0
14 daysftrace: Remove unused list 'ftrace_direct_funcs'Dr. David Alan Gilbert1-8/+0
2024-05-13ftrace: Use asynchronous grace period for register_ftrace_direct()Paul E. McKenney1-4/+9
2024-05-13ftrace: Replaces simple_strtoul in ftraceYuran Pereira1-4/+3
2024-04-24ftrace: Remove the now superfluous sentinel elements from ctl_table arrayJoel Granados1-1/+0
2024-04-12ftrace: Choose RCU Tasks based on TASKS_RCU rather than PREEMPTIONPaul E. McKenney1-2/+1
2024-03-18ftrace: Fix most kernel-doc warningsRandy Dunlap1-44/+46
2024-02-13tracing: Fix HAVE_DYNAMIC_FTRACE_WITH_REGS ifdefPetr Pavlu1-1/+1
2024-02-09ftrace: Fix DIRECT_CALLS to use SAVE_REGS by defaultMasami Hiramatsu (Google)1-0/+10
2023-12-30ftrace: Fix modification of direct_function hash while in useSteven Rostedt (Google)1-53/+47
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-07-12ftrace: Fix possible warning on checking all pages used in ftrace_process_locs()Zheng Yejian1-14/+31
2023-06-30Merge tag 'trace-v6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...Linus Torvalds1-0/+37
2023-06-22ftrace: Show all functions with addresses in available_filter_functions_addrsJiri Olsa1-0/+37
2023-05-30ftrace: Replace all non-returning strlcpy with strscpyAzeem Shaikh1-9/+9
2023-05-05Merge tag 'trace-v6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-3/+9
2023-05-05ftrace: Add MODIFIED flag to show if IPMODIFY or direct was attachedSteven Rostedt (Google)1-3/+9
2023-04-28Merge tag 'trace-v6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...Linus Torvalds1-5/+46
2023-04-27Merge tag 'modules-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-2/+1
2023-03-21ftrace: Show a list of all functions that have ever been enabledSteven Rostedt (Google)1-5/+46
2023-03-21ftrace: Make DIRECT_CALLS work WITH_ARGS and !WITH_REGSFlorent Revest1-1/+1
2023-03-21ftrace: Store direct called addresses in their opsFlorent Revest1-2/+5
2023-03-21ftrace: Rename _ftrace_direct_multi APIs to _ftrace_direct APIsFlorent Revest1-17/+17
2023-03-21ftrace: Remove the legacy _ftrace_direct APIFlorent Revest1-393/+0
2023-03-21ftrace: Let unregister_ftrace_direct_multi() call ftrace_free_filter()Florent Revest1-1/+5
2023-03-19kallsyms: Delete an unused parameter related to {module_}kallsyms_on_each_sym...Zhen Lei1-2/+1
2023-03-19Merge tag 'trace-v6.3-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-1/+1
2023-03-19ftrace: Set direct_ops storage-class-specifier to staticTom Rix1-1/+1
2023-03-14Merge tag 'trace-v6.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-1/+2
2023-03-09ftrace: Fix invalid address access in lookup_rec() when index is 0Chen Zhongjin1-1/+2
2023-02-21Merge tag 'net-next-6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-1/+1
2023-02-21Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/a...Linus Torvalds1-5/+104
2023-02-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+22
2023-01-24ftrace: Export ftrace_free_filter() to modulesMark Rutland1-1/+22
2023-01-24ftrace: Add DYNAMIC_FTRACE_WITH_CALL_OPSMark Rutland1-5/+104
2023-01-19livepatch: Improve the search performance of module_kallsyms_on_each_symbol()Zhen Lei1-1/+1
2022-12-15Merge tag 'trace-v6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...Linus Torvalds1-9/+19
2022-12-14ftrace: Prevent RCU stall on PREEMPT_VOLUNTARY kernelsGuilherme G. Piccoli1-0/+1
2022-12-13Merge tag 'net-next-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-5/+11
2022-12-12Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/a...Linus Torvalds1-2/+1
2022-11-29Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+3
2022-11-23ftrace: Avoid needless updates of the ftrace function callSteven Rostedt (Google)1-2/+15
2022-11-23ftrace: Clean comments related to FTRACE_OPS_FL_PER_CPUZheng Yejian1-7/+3
2022-11-18ftrace: pass fregs to arch_ftrace_set_direct_caller()Mark Rutland1-2/+1
2022-11-17ftrace: Fix null pointer dereference in ftrace_add_mod()Xiu Jianfeng1-0/+1
2022-11-17ftrace: Optimize the allocation for mcount entriesWang Wensheng1-1/+1
2022-11-17ftrace: Fix the possible incorrect kernel messageWang Wensheng1-1/+1
2022-11-10Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-13/+3
2022-11-02ftrace: Fix use-after-free for dynamic ftrace_opsLi Huafei1-13/+3
2022-10-25ftrace: Add support to resolve module symbols in ftrace_lookup_symbolsJiri Olsa1-5/+11
2022-10-13Merge tag 'trace-v6.1-1' of git://git.kernel.org/pub/scm/linux/kernel/git/tra...Linus Torvalds1-4/+1
2022-10-12ftrace: Fix char print issue in print_ip_ins()Zheng Yejian1-4/+1
2022-10-10Merge tag 'trace-v6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...Linus Torvalds1-7/+27
2022-10-05ftrace: Still disable enabled records marked as disabledSteven Rostedt (Google)1-4/+16
2022-09-27ftrace: Fix recursive locking direct_mutex in ftrace_modify_direct_callerSong Liu1-1/+5
2022-09-27ftrace: Properly unset FTRACE_HASH_FL_MODZheng Yejian1-2/+6
2022-09-26ftrace: Keep the resolved addr in kallsyms_callbackJiri Olsa1-2/+1
2022-08-22ftrace: Fix build warning for ops_references_rec() not usedWang Jingjin1-46/+33
2022-08-21Merge tag 'trace-v6.0-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-0/+10
2022-08-21ftrace: Fix NULL pointer dereference in is_ftrace_trampoline when ftrace is deadYang Jihong1-0/+10
2022-07-22ftrace: Allow IPMODIFY and DIRECT ops on the same functionSong Liu1-26/+216
2022-07-22ftrace: Add modify_ftrace_direct_multi_nolockSong Liu1-24/+62
2022-06-16ftrace: Keep address offset in ftrace_lookup_symbolsJiri Olsa1-2/+11
2022-05-29Merge tag 'trace-v5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/rost...Linus Torvalds1-36/+174
2022-05-28ftrace: Add FTRACE_MCOUNT_MAX_OFFSET to avoid adding weak functionSteven Rostedt (Google)1-2/+139
2022-05-26ftrace: Clean up hash direct_functions on register failuresSong Liu1-3/+2
2022-05-26ftrace: Fix typo in commentJulia Lawall1-1/+1
2022-05-26ftrace: Remove return value of ftrace_arch_modify_*()Li kunyu1-12/+4
2022-05-26ftrace: Deal with error return code of the ftrace_process_locs() functionYuntao Wang1-4/+13
2022-05-26tracing: Use trace_create_file() to simplify creation of tracefs entriesYuntao Wang1-6/+3
2022-05-26Merge tag 'sysctl-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-94/+117
2022-05-23Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski1-0/+62
2022-05-12sched/tracing: Append prev_state to tp args insteadDelyan Kratunov1-2/+2
2022-05-10ftrace: Add ftrace_lookup_symbols functionJiri Olsa1-0/+62
2022-04-27tracing: Remove check of list iterator against head past the loop bodyJakob Koschel1-8/+12
2022-04-21ftrace: fix building with SYSCTL=y but DYNAMIC_FTRACE=nLuis Chamberlain1-0/+6
2022-04-21ftrace: fix building with SYSCTL=n but DYNAMIC_FTRACE=yLuis Chamberlain1-37/+34
2022-04-15ftrace: Fix build warningYueHaibing1-2/+2
2022-04-06ftrace: move sysctl_ftrace_enabled to ftrace.cWei Xiao1-1/+21
2022-03-27Merge tag 'x86_core_for_5.18_rc1' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-8/+40
2022-03-24Merge tag 'net-next-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds1-9/+49
2022-03-23Merge tag 'trace-v5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/rost...Linus Torvalds1-0/+2
2022-03-22Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski1-9/+49
2022-03-17ftrace: Add ftrace_set_filter_ips functionJiri Olsa1-9/+49
2022-03-15x86/ibt,ftrace: Search for __fentry__ locationPeter Zijlstra1-8/+40
2022-03-15Merge tag 'v5.17-rc8' into sched/core, to pick up fixesIngo Molnar1-3/+2
2022-03-11tracing: Add snapshot at end of kernel boot upSteven Rostedt (Google)1-0/+2
2022-03-09ftrace: Fix some W=1 warnings in kernel doc commentsJiapeng Chong1-2/+2
2022-03-01sched/tracing: Don't re-read p->state when emitting sched_switch eventValentin Schneider1-1/+3
2022-02-25ftrace: Remove unused ftrace_startup_enable() stubNathan Chancellor1-1/+0
2022-01-23Merge tag 'trace-v5.17-3' of git://git.kernel.org/pub/scm/linux/kernel/git/ro...Linus Torvalds1-2/+2
2022-01-23ftrace: Fix assuming build time sort works for s390Steven Rostedt (Google)1-2/+2
2022-01-16Merge tag 'trace-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/rost...Linus Torvalds1-2/+32
2022-01-13ftrace: Add test to make sure compiled time sorts workSteven Rostedt (VMware)1-0/+23
2022-01-13scripts: ftrace - move the sort-processing in ftrace_initYinan Liu1-2/+9
2021-12-08ftrace: Add cleanup to unregister_ftrace_direct_multiJiri Olsa1-0/+4
2021-12-08ftrace: Use direct_ops hash in unregister_ftrace_directJiri Olsa1-1/+3
2021-11-11Merge tag 'trace-v5.16-3' of git://git.kernel.org/pub/scm/linux/kernel/git/ro...Linus Torvalds1-1/+2
2021-11-10ftrace/direct: Fix lockup in modify_ftrace_direct_multiJiri Olsa1-1/+2
2021-11-09Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-1/+1
2021-11-09sections: move and rename core_kernel_data() to is_kernel_core_data()Kefeng Wang1-1/+1
2021-11-01Merge tag 'trace-v5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/rost...Linus Torvalds1-65/+283
2021-10-29ftrace: Fix kernel-doc formatting issuesSteven Rostedt (VMware)1-8/+10
2021-10-27ftrace: disable preemption when recursion locked王贇1-10/+5
2021-10-25ftrace: Make ftrace_profile_pages_init staticchongjiapeng1-1/+1
2021-10-21ftrace/direct: Do not disable when switching direct callersSteven Rostedt (VMware)1-14/+20
2021-10-21ftrace: Add multi direct modify interfaceJiri Olsa1-0/+62
2021-10-21ftrace: Add multi direct register/unregister interfaceJiri Olsa1-0/+142
2021-10-21ftrace: Add ftrace_add_rec_direct functionJiri Olsa1-27/+37
2021-10-19tracing: Use linker magic instead of recasting ftrace_ops_list_func()Steven Rostedt (VMware)1-13/+10
2021-10-18tracing: Have all levels of checks prevent recursionSteven Rostedt (VMware)1-2/+2
2021-10-08ftrace: Cleanup ftrace_dyn_arch_init()Weizhao Ouyang1-0/+5
2021-10-08tracing: Disable "other" permission bits in the tracefs filesSteven Rostedt (VMware)1-11/+12
2021-10-05tracing: Place trace_pid_list logic into abstract functionsSteven Rostedt (VMware)1-3/+3
2021-08-03ftrace: Introduce ftrace_need_init_nop()Ilya Leoshkevich1-2/+2
2021-07-23ftrace: Remove redundant initialization of variable retColin Ian King1-1/+1
2021-07-23ftrace: Avoid synchronize_rcu_tasks_rude() call when not necessaryNicolas Saenz Julienne1-1/+2
2021-07-08ftrace: Use list_move instead of list_del/list_addBaokun Li1-2/+1
2021-06-08ftrace: Do not blindly read the ip address in ftrace_bug()Steven Rostedt (VMware)1-1/+7
2021-05-06Merge tag 'trace-v5.13-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ro...Linus Torvalds1-1/+4
2021-05-05ftrace: Handle commands when closing set_ftrace_filter fileSteven Rostedt (VMware)1-1/+4
2021-05-03Merge tag 'trace-v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/rost...Linus Torvalds1-30/+23
2021-04-01ftrace: Simplify the calculation of page number for ftrace_page->records some...Steven Rostedt (VMware)1-8/+2
2021-04-01ftrace: Store the order of pages allocated in ftrace_pageLinus Torvalds1-18/+17
2021-04-01Merge branch 'trace/ftrace/urgent' into HEADSteven Rostedt (VMware)1-3/+6
2021-03-31Merge tag 'trace-v5.12-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-3/+6
2021-03-30ftrace: Check if pages were allocated before calling free_pages()Steven Rostedt (VMware)1-3/+6
2021-03-23tracing: Fix various typos in commentsIngo Molnar1-4/+4
2021-03-17ftrace: Fix modify_ftrace_direct.Alexei Starovoitov1-5/+38
2020-12-17Merge tag 'trace-v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/rost...Linus Torvalds1-29/+28
2020-11-30ftrace: Fix updating FTRACE_FL_TRAMPNaveen N. Rao1-1/+21
2020-11-13ftrace: Have the callbacks receive a struct ftrace_regs instead of pt_regsSteven Rostedt (VMware)1-12/+15
2020-11-10ftrace: Remove unused varible 'ret'Alex Shi1-4/+2
2020-11-06ftrace: Add recording of functions that caused recursionSteven Rostedt (VMware)1-2/+2
2020-11-06ftrace: Reverse what the RECURSION flag means in the ftrace_opsSteven Rostedt (VMware)1-11/+9
2020-10-15Merge tag 'trace-v5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/rost...Linus Torvalds1-11/+13
2020-10-08ftrace: Format variable declarations of ftrace_allocate_recordsSteven Rostedt (VMware)1-1/+2
2020-10-08ftrace: Simplify the calculation of page number for ftrace_page->recordsWei Yang1-3/+4
2020-10-08ftrace: Simplify the hash calculationSteven Rostedt (VMware)1-4/+3
2020-10-08ftrace: Use fls() to get the bits for dup_hash()Wei Yang1-2/+3
2020-10-02ftrace: Fix some typos in commentQiujun Huang1-5/+5
2020-09-29ftrace: Move RCU is watching check after recursion checkSteven Rostedt (VMware)1-4/+2
2020-09-21tracing: Delete repeated words in commentsRandy Dunlap1-1/+1
2020-09-18ftrace: Let ftrace_enable_sysctl take a kernel pointer bufferTobias Klauser1-2/+1
2020-09-18ftrace: Fix missing synchronize_rcu() removing trampoline from kallsymsAdrian Hunter1-0/+1
2020-09-18ftrace: Free the trampoline when ftrace_startup() failsMiroslav Benes1-0/+2
2020-08-07Merge tag 'trace-v5.9' of git://git.kernel.org/pub/scm/linux/kernel/git/roste...Linus Torvalds1-9/+25
2020-08-04tracing: Use trace_sched_process_free() instead of exit() for pid tracingSteven Rostedt (VMware)1-2/+2
2020-08-03ftrace: Fix ftrace_trace_task return valueJosef Bacik1-3/+0
2020-07-30ftrace: Do not let direct or IPMODIFY ftrace_ops be added to module and set t...Chengming Zhou1-0/+8
2020-07-30ftrace: Setup correct FTRACE_FL_REGS flags for moduleChengming Zhou1-4/+7
2020-07-02Merge branch 'perf/vlbr'Peter Zijlstra1-2/+10
2020-06-29x86/ftrace: Only have the builtin ftrace_regs_caller call direct hooksSteven Rostedt (VMware)1-0/+8
2020-06-17ftrace: Fix maybe-uninitialized compiler warningKaitao Cheng1-2/+10
2020-06-15ftrace: Add perf text poke events for ftrace trampolinesAdrian Hunter1-0/+14
2020-06-15ftrace: Add perf ksymbol events for ftrace trampolinesAdrian Hunter1-2/+12
2020-06-15ftrace: Add symbols for ftrace trampolinesAdrian Hunter1-2/+75
2020-06-09Merge tag 'trace-v5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/roste...Linus Torvalds1-4/+4
2020-06-09kallsyms/printk: add loglvl to print_ip_sym()Dmitry Safonov1-4/+4
2020-05-19ftrace: show debugging information when panic_on_warn setCheng Jian1-4/+4
2020-05-19Merge tag 'noinstr-lds-2020-05-19' into core/rcuThomas Gleixner1-0/+1
2020-04-27ftrace: Use synchronize_rcu_tasks_rude() instead of ftrace_sync()Paul E. McKenney1-14/+3
2020-04-22ftrace: Fix memory leak caused by not freeing entry in unregister_ftrace_dire...Steven Rostedt (VMware)1-0/+1
2020-04-05Merge tag 'trace-v5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/roste...Linus Torvalds1-27/+173
2020-03-27tracing: Create set_event_notrace_pid to not trace tasksSteven Rostedt (VMware)1-9/+2
2020-03-27ftrace: Create set_ftrace_notrace_pid to not trace tasksSteven Rostedt (VMware)1-23/+158
2020-03-27ftrace: Make function trace pid filtering a bit more exactSteven Rostedt (VMware)1-7/+25
2020-03-11ftrace: Return the first found result in lookup_rec()Artem Savkov1-0/+2
2020-02-05ftrace: Protect ftrace_graph_hash with ftrace_syncSteven Rostedt (VMware)1-2/+9
2020-02-05tracing: Annotate ftrace_graph_notrace_hash pointer with __rcuAmol Grover1-1/+1
2020-02-05tracing: Annotate ftrace_graph_hash pointer with __rcuAmol Grover1-1/+1
2020-01-30ftrace: fpid_next() should increase position indexVasily Averin1-2/+3
2020-01-25tracing: Use pr_err() instead of WARN() for memory failuresSteven Rostedt (VMware)1-2/+2
2020-01-21ftrace: Remove NR_TO_INIT macroAlex Shi1-3/+0
2020-01-21ftrace: Remove abandoned macrosAlex Shi1-2/+0
2020-01-13tracing: Rename trace_buffer to array_bufferSteven Rostedt (VMware)1-4/+4
2020-01-02ftrace: Avoid potential division by zero in function profilerWen Yang1-3/+3
2019-12-11Merge tag 'trace-v5.5-3' of git://git.kernel.org/pub/scm/linux/kernel/git/ros...Linus Torvalds1-12/+7
2019-12-10ftrace: Fix function_graph tracer interaction with BPF trampolineAlexei Starovoitov1-12/+7
2019-11-27Merge tag 'trace-v5.5' of git://git.kernel.org/pub/scm/linux/kernel/git/roste...Linus Torvalds1-45/+568
2019-11-18ftrace: Add a helper function to modify_ftrace_direct() to allow arch optimiz...Steven Rostedt (VMware)1-32/+88
2019-11-15ftrace: Add helper find_direct_entry() to consolidate codeSteven Rostedt (VMware)1-30/+29
2019-11-15ftrace: Add another check for match in register_ftrace_direct()Steven Rostedt (VMware)1-1/+6
2019-11-15ftrace: Fix accounting bug with direct->count in register_ftrace_direct()Steven Rostedt (VMware)1-2/+1
2019-11-14ftrace: Add modify_ftrace_direct()Steven Rostedt (VMware)1-0/+78
2019-11-14tracing: Use generic type for comparator functionAndy Shevchenko1-6/+6
2019-11-13ftrace: Add information on number of page groups allocatedSteven Rostedt (VMware)1-0/+14
2019-11-13ftrace/x86: Add a counter to test function_graph with directSteven Rostedt (VMware)1-0/+4
2019-11-13ftrace: Add ftrace_find_direct_func()Steven Rostedt (VMware)1-1/+78
2019-11-13ftrace: Add register_ftrace_direct()Steven Rostedt (VMware)1-5/+264
2019-11-08ftrace: Separate out functionality from ftrace_location_range()Steven Rostedt (VMware)1-15/+23
2019-11-08ftrace: Separate out the copying of a ftrace_hash from __ftrace_hash_move()Steven Rostedt (VMware)1-12/+17
2019-11-06ftrace: add ftrace_init_nop()Mark Rutland1-3/+3
2019-11-04ftrace: Introduce PERMANENT ftrace_ops flagMiroslav Benes1-2/+21