Lines Matching refs:ftrace

29 #include <linux/ftrace.h>
93 /* ftrace_enabled is a method to turn ftrace on or off */
1040 # error Dynamic ftrace depends on MCOUNT_RECORD
1074 * Used by the stack unwinder to know about dynamic ftrace trampolines.
1514 * There's a small race when adding ops that the ftrace handler
1590 * Returns: rec->ip if the related ftrace location is a least partly within
1592 * that is either a NOP or call to the function tracer. It checks the ftrace
1610 * ftrace_location - return the ftrace location
1614 * * If @ip matches the ftrace location, return @ip.
1615 * * If @ip matches sym+0, return sym's ftrace location.
1639 * ftrace_text_reserved - return true if range contains an ftrace location
1643 * Returns: 1 if @start and @end contains a ftrace location.
1645 * the function tracer. It checks the ftrace internal tables to
2100 pr_info("Initializing ftrace call sites\n");
2103 pr_info("Setting ftrace call site to NOP\n");
2106 pr_info("Setting ftrace call site to call ftrace function\n");
2109 pr_info("Updating ftrace call site to call a different ftrace function\n");
2130 pr_info("------------[ ftrace bug ]------------\n");
2134 pr_info("ftrace faulted on modifying ");
2138 pr_info("ftrace failed to modify ");
2148 pr_info("ftrace faulted on writing ");
2152 pr_info("ftrace faulted on unknown error ");
2159 pr_info("ftrace record flags: %lx\n", rec->flags);
2285 * directly (no ftrace trampoline).
2571 * @rec: The ftrace record descriptor
2612 * @rec: The ftrace record descriptor
2684 return -1; /* unknown ftrace bug */
2891 * @command: The command to tell ftrace what to do
2965 * for pages allocated for ftrace purposes, even though "__builtin__ftrace" is
3026 * Note that ftrace probes uses this to start up
3052 * If ftrace is in an undefined state, we just remove ops from list
3079 * Just warn in case of unbalance, no need to kill ftrace, it's not
3081 * further ftrace uses.
3115 * If there's no more ops registered with ftrace, run a
3154 * while on a ftrace trampoline. Just scheduling a task on
3197 * an entry in the ftrace data. Now, if ftrace is activated
3199 * read-only, the modification of enabling ftrace can fail if
3200 * the read-only is done while ftrace is converting the calls.
3328 pr_info("ftrace: FAILED to allocate memory for functions\n");
4124 /* Type for quick search ftrace basic regexes (globs) from filter_parse_regex */
5084 * Currently we only register ftrace commands from __init, so mark this
5107 * Currently we only unregister ftrace commands from __init, so mark
5385 * -ENODEV - @ip does not point to a ftrace nop location (or not supported)
5625 * ftrace_set_filter_ip - set a function to filter on in ftrace by address
5647 * ftrace_set_filter_ips - set functions to filter on in ftrace by addresses
5673 * ftrace users who need global function trace filtering should call this.
5694 * ftrace_set_filter - set a function to filter on in ftrace
5716 * ftrace_set_notrace - set a function to not trace in ftrace
5836 printk(KERN_DEBUG "ftrace: function %s not "
6469 pr_info("ftrace section at %px sorted properly\n", start);
6914 pr_warn("ftrace: failed to allocate entries for module '%s' functions\n",
7131 MEM_FAIL(1, "alloc failure, ftrace filter could be stale\n");
7241 pr_info("ftrace: No functions to be traced?\n");
7245 pr_info("ftrace: allocating %ld entries in %ld pages\n",
7252 pr_warn("ftrace: failed to allocate entries for functions\n");
7256 pr_info("ftrace: allocated %ld pages with %ld groups\n",
7337 printk("ftrace ops had %pS for function\n",
7888 * ftrace_kill - kill ftrace
7890 * This function should be used by panic code. It stops ftrace
7891 * but in a not so nice way. If you need to simply kill ftrace
7903 * ftrace_is_dead - Test if ftrace is dead or not.
7905 * Returns: 1 if ftrace is "dead", zero otherwise.
8081 * Unregister a function that was added to be called by ftrace profiling.
8182 /* ftrace_start_up is true if we want ftrace running */
8198 /* ftrace_start_up is true if ftrace is running */
8241 /* we are starting ftrace again */
8255 /* stopping ftrace calls (just send to ftrace_stub) */