Searched refs:tracing (Results 1 - 200 of 318) sorted by relevance

12

/linux-4.4.14/net/netfilter/
H A Dxt_TRACE.c1 /* This is a module which is used to mark packets for tracing.
8 MODULE_DESCRIPTION("Xtables: packet flow tracing");
/linux-4.4.14/tools/lib/api/fs/
H A Dtracing_path.c16 char tracing_path[PATH_MAX] = "/sys/kernel/debug/tracing";
17 char tracing_events_path[PATH_MAX] = "/sys/kernel/debug/tracing/events";
20 static void __tracing_path_set(const char *tracing, const char *mountpoint) __tracing_path_set() argument
24 mountpoint, tracing); __tracing_path_set()
26 mountpoint, tracing, "events"); __tracing_path_set()
50 __tracing_path_set("tracing/", mnt); tracing_path_debugfs_mount()
70 __tracing_path_set("tracing/", mntpt); tracing_path_set()
H A Dfs.c58 #define TRACEFS_DEFAULT_PATH "/sys/kernel/tracing"
63 "/sys/kernel/debug/tracing",
64 "/tracing",
/linux-4.4.14/drivers/net/wireless/ath/ath10k/
H A DMakefile28 # for tracing framework to find trace.h
H A Dtrace.h39 /* create empty functions when tracing is disabled */
/linux-4.4.14/drivers/net/wireless/ath/wil6210/
H A DMakefile22 # for tracing framework to find trace.h
H A Dtrace.h26 /* create empty functions when tracing is disabled */
/linux-4.4.14/include/linux/
H A Dtracefs.h2 * tracefs.h - a pseudo file system for activating tracing
12 * tracefs is the file system that is used by the tracing infrastructure.
H A Dtracehook.h11 * user tracing/debugging support might need to do something. These
18 * fast path when no tracing is enabled should be very short.
22 * user debugging or tracing facility (such as ptrace). The interfaces
25 * tracing facilities. Likewise, maintainers of the tracing code do not
31 * core code changing should notify the maintainers of the tracing code
34 * Some tracehook_*() inlines take arguments that the current tracing
38 * core code won't have to be updated when tracing adds more features.
43 * tracing code that they need to work out the change.
H A Derrno.h10 * at syscall exit tracing, but they will never be left for the debugged user
H A Dtracepoint.h189 * the tracepoint code, regardless of whether tracing is on. However,
313 * With tracepoint_string(), the string will be registered to the tracing
314 * system and exported to userspace via the debugfs/tracing/printk_formats
335 * tracing tools. When tracing isn't configured, there's no need to save
412 * * Fast binary tracing: define the trace record via
419 * * /sys/kernel/debug/tracing/events/<*>/format.
465 * * (raw-binary tracing wont actually perform this step.)
475 * tracing setup, it is used to construct a function pointer based
479 * /sys/kernel/debug/tracing/events/.
H A Dftrace.h42 /* Main tracing buffer and events set up */
177 * Type of the current tracing.
184 /* Current tracing type, default is FTRACE_TYPE_ENTER */
201 * This function enables tracing on current cpu by decreasing
218 * This function enables tracing on current cpu by decreasing
349 * from tracing that function.
403 * MAKE_CALL - Start tracing the function
405 * MAKE_NOP - Stop tracing the function
743 /* Type of the callback handlers for tracing function graph*/
H A Dirqflags.h4 * IRQ flags tracing: follow the state of the hardirq and softirq flags and
H A Dcoresight.h210 * @enable: enables tracing for a source.
211 * @disable: disables tracing for a source.
H A Dkernel.h524 * General tracing related utility functions - trace_printk(),
528 * tracing. It simply enables or disables the recording of the trace events.
529 * This also corresponds to the user space /sys/kernel/debug/tracing/tracing_on
531 * Place a tracing_off() in the kernel where you want tracing to end.
533 * to continue tracing.
537 * trace is not enough, but tracing must actually stop because things
578 * printk like tracing in the code, a developer can quickly see
641 * printk like tracing in the code, a developer can quickly see
H A Dtrace_seq.h72 * Currently only defined when tracing is enabled.
H A Dptrace.h102 * ptrace_parent - return the task that is tracing the given task
105 * Returns %NULL if no one is tracing @task, or the &struct task_struct
H A Dhashtable.h185 * not do any RCU debugging or tracing.
H A Drcupdate.h741 * The tracing infrastructure traces RCU (we want that), but unfortunately
742 * some of the RCU checks causes tracing to lock up the system.
744 * The tracing version of rcu_dereference_raw() must not call
982 /* Used by lockdep and tracing: cannot be traced, cannot call lockdep. */ rcu_read_lock_sched_notrace()
1003 /* Used by lockdep and tracing: cannot be traced, cannot call lockdep. */ rcu_read_unlock_sched_notrace()
H A Drculist.h482 * hlist_for_each_entry_rcu_notrace - iterate over rcu list of given type (for tracing)
492 * not do any RCU debugging or tracing.
H A Dcompiler-gcc.h77 /* A lot of inline functions can cause havoc with function tracing */
H A Dcompiler.h104 * to disable branch tracing on a per file basis.
/linux-4.4.14/include/asm-generic/
H A Dsyscall.h31 * tracing about to attempt one, returns the system call number.
45 * @task: task of interest, must be in system call exit tracing
49 * call exit tracing (due to TIF_SYSCALL_TRACE or TIF_SYSCALL_AUDIT),
57 * register state looked like at system call entry tracing.
68 * It's only valid to call this when @task is stopped for tracing on exit
81 * It's only valid to call this when @task is stopped for tracing on exit
98 * It's only valid to call this when @task is stopped for tracing on exit
116 * It's only valid to call this when @task is stopped for tracing on
126 * @task: task of interest, must be in system call entry tracing
136 * It's only valid to call this when @task is stopped for tracing on
/linux-4.4.14/arch/s390/kernel/
H A Dhead64.S61 .quad 0 # cr9: tracing off
62 .quad 0 # cr10: tracing off
63 .quad 0 # cr11: tracing off
64 .quad 0 # cr12: tracing off
H A DMakefile6 # Don't trace early setup code and tracing code
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/
H A Ddebug.h29 ATH6KL_DBG_BMI = BIT(4), /* bmi tracing */
35 ATH6KL_DBG_WMI = BIT(10), /* wmi tracing */
36 ATH6KL_DBG_TRC = BIT(11), /* generic func tracing */
37 ATH6KL_DBG_SCATTER = BIT(12), /* hif scatter tracing */
38 ATH6KL_DBG_WLAN_CFG = BIT(13), /* cfg80211 i/f file tracing */
H A DMakefile48 # for tracing framework to find trace.h
H A Dtrace.h23 /* create empty functions when tracing is disabled */
/linux-4.4.14/kernel/trace/
H A Dtrace_clock.c2 * tracing clocks
25 * trace_clock_local(): the simplest and least coherent tracing clock.
27 * Useful for tracing that does not cross to other CPUs nor
H A Dtrace_selftest.c51 /* disable tracing */ trace_test_buffer_cpu()
336 /* enable tracing, and record the filter function */ trace_selftest_startup_dynamic_tracing()
352 /* enable tracing */ trace_selftest_startup_dynamic_tracing()
379 /* stop the tracing. */ trace_selftest_startup_dynamic_tracing()
397 /* Test the ops with global tracing running */ trace_selftest_startup_dynamic_tracing()
404 /* Enable tracing on all functions again */ trace_selftest_startup_dynamic_tracing()
407 /* Test the ops with global tracing off */ trace_selftest_startup_dynamic_tracing()
440 * tracing utility. trace_selftest_test_recursion_safe_func()
469 /* enable tracing, and record the filter function */ trace_selftest_function_recursion()
578 /* enable tracing, and record the filter function */ trace_selftest_function_regs()
667 /* start the tracing */ trace_selftest_startup_function()
678 /* stop the tracing. */ trace_selftest_startup_function()
733 /* ftrace_dump() disables tracing */ trace_graph_entry_watchdog()
798 /* Don't test dynamic tracing, the function tracer already did */ trace_selftest_startup_function_graph()
818 /* start the tracing */ trace_selftest_startup_irqsoff()
839 /* stop the tracing. */ trace_selftest_startup_irqsoff()
880 /* start the tracing */ trace_selftest_startup_preemptoff()
901 /* stop the tracing. */ trace_selftest_startup_preemptoff()
942 /* start the tracing */ trace_selftest_startup_preemptirqsoff()
967 /* stop the tracing. */ trace_selftest_startup_preemptirqsoff()
997 /* stop the tracing. */ trace_selftest_startup_preemptirqsoff()
1098 /* start the tracing */ trace_selftest_startup_wakeup()
1127 /* stop the tracing. */ trace_selftest_startup_wakeup()
1159 /* start the tracing */ trace_selftest_startup_sched_switch()
1168 /* stop the tracing. */ trace_selftest_startup_sched_switch()
1191 /* start the tracing */ trace_selftest_startup_branch()
1200 /* stop the tracing. */ trace_selftest_startup_branch()
H A DMakefile15 # If unlikely tracing is enabled, do not trace these files
H A Dtrace_nop.c67 * The tracing Api will do it automatically if you return 0 nop_set_flag()
H A Dtrace_event_perf.c2 * trace event based perf event profiling/tracing
52 * event, due to issues with page faults while tracing page perf_trace_event_perm()
66 /* No tracing, just counting, so no obvious leak */ perf_trace_event_perm()
H A Dtrace.c50 * we do not waste memory on systems that are not using tracing.
90 * tracing is active, only save the comm when a trace event
96 * Kill all tracing for good (never come back).
123 /* When set, tracing will stop when a WARN*() is hit */
263 * The global_trace is the descriptor that holds the tracing
264 * buffers for the live tracing. For each CPU, it contains
524 * tracing_on - enable tracing buffers
526 * This function enables tracing buffers that may have been
631 * tracing buffer. You can use this to take snapshots of the live
636 * with: echo 1 > /sys/kernel/debug/tracing/snapshot
638 * If the snapshot buffer is not allocated, it will stop tracing.
738 * tracing buffer. You can use this to take snapshots of the live
790 * tracing_off - turn off tracing buffers
792 * This function stops the tracing buffers from recording data.
1028 * for later retrieval via /sys/kernel/debug/tracing/latency_trace)
1168 * internal tracing to verify that everything is in order. run_tracer_selftest()
1428 * If tracing is enabled but was stopped by tracing_stop,
1502 * Light weight way to stop tracing. Use in conjunction with
1721 * If tracing is off, but we have triggers enabled trace_event_buffer_lock_reserve()
1939 * prevent recursion, since the user stack tracing may ftrace_trace_userstack()
2106 /* Start tracing comms if trace printk is set */ trace_printk_start_comm()
2124 * trace_vbprintk - write binary msg to tracing buffer
3078 /* Notify the tracer early; before we stop tracing. */ __tracing_open()
3184 /* reenable tracing if it was previously enabled */
3696 "tracing mini-HOWTO:\n\n"
3697 "# echo 0 > tracing_on : quick way to disable tracing\n"
3698 "# echo 1 > tracing_on : quick way to re-enable tracing\n\n"
3709 " global: Synced across CPUs but slows tracing down.\n"
3720 " trace_options\t\t- Set format or modify how tracing happens\n"
3747 "\t The first one will disable tracing every time do_fault is hit\n"
3748 "\t The second will disable tracing at most 3 times when do_trap is hit\n"
3749 "\t The first time do trap is hit and it disables tracing, the\n"
3750 "\t counter will decrement to 2. If tracing is already disabled,\n"
3787 " enable\t\t- Write 0/1 to enable/disable tracing of all events\n"
3789 " enable\t\t- Write 0/1 to enable/disable tracing of all <system>\n"
3794 " enable\t\t- Write 0/1 to enable/disable tracing of <event>\n"
3811 "\t The first disables tracing every time block_unplug is hit.\n"
3812 "\t The second disables tracing the first 3 times block_unplug is hit.\n"
3816 "\t enabled or disabled tracing.\n"
4262 * tracing. __tracing_resize_ring_buffer()
4313 * tracing_update_buffers - used by tracing facility to expand ring buffers
4315 * To save on memory when the tracing is never used on a system with it
4317 * a user starts to use the tracing facility, then they need to grow
4696 * We block until we read something and tracing is disabled. tracing_wait_pipe()
4697 * We still block if tracing is disabled, but we have never tracing_wait_pipe()
4699 * then enable tracing. But after we have read something, tracing_wait_pipe()
4700 * we give an EOF when tracing is again disabled. tracing_wait_pipe()
4754 /* stop when tracing is finished */ tracing_read_pipe()
5084 /* disable tracing ? */ tracing_free_buffer_release()
6823 * debugfs to get to the tracing facility, tracefs is automatically trace_automount()
6824 * mounted to the debugfs/tracing directory. trace_automount()
6841 * This is called when creating files or directories in the tracing
6843 * and expects to return the dentry of the top level tracing directory.
6859 * As there may still be users that expect the tracing tracing_init_dentry()
6860 * files to exist in debugfs/tracing, we must automount tracing_init_dentry()
6864 tr->dir = debugfs_create_automount("tracing", NULL, tracing_init_dentry()
6867 pr_warn_once("Could not create debugfs directory 'tracing'\n"); tracing_init_dentry()
7106 * Always turn off tracing when we dump. ftrace_dump()
7111 * tracing with echo 1 > tracing_on. ftrace_dump()
7152 * We need to stop all tracing on all CPUS to read the
7273 /* All seems OK, enable tracing */ tracer_alloc_buffers()
H A Dtrace_functions.c94 /* Currently only the global instance can do stack tracing */ function_trace_init()
272 * It is fine if both disable (or enable) tracing, as disabling update_traceon_count()
301 /* Make sure we see count before checking tracing state */ update_traceon_count()
316 /* Make sure tracing state is visible before updating count */ update_traceon_count()
H A Dftrace.c89 /* Current function tracing op */
168 * Returns the number of ftrace_ops registered and tracing functions
199 * tracing. There may be lag
234 * Yes, function tracing is rude. ftrace_sync()
318 * For static tracing, we need to be a bit more careful. update_ftrace_function()
330 * tracing is slow and nasty to have enabled. update_ftrace_function()
485 /* Only do something if we are tracing something */ ftrace_update_pid_func()
720 * dynamic tracing is what counts them. With past experience ftrace_profile_pages_init()
1664 * As disabling notrace means enabling the tracing, __ftrace_hash_rec_update()
1961 * The arch code that enables or disables the function tracing
2103 * ftrace_update_record, set a record that now is tracing or not
2105 * @enable: set to 1 if the record is tracing, zero to force disable
2108 * to be updated when tracing has been enabled.
2121 * tracing to determine how to modify the function code that it
2671 * per_cpu field freed. Since, function tracing is ftrace_shutdown()
2886 * If the tracing is enabled, go ahead and enable the record. ftrace_update_code()
4188 * Filters denote which functions should be enabled when tracing is enabled
4213 * Filters denote which functions should be enabled when tracing is enabled.
4214 * If @buf is NULL and reset is set, all functions will be enabled for tracing.
4231 * Notrace Filters denote which functions should not be enabled when tracing
4233 * for tracing.
4248 * Filters denote which functions should be enabled when tracing is enabled.
4249 * If @buf is NULL and reset is set, all functions will be enabled for tracing.
4263 * Notrace Filters denote which functions should not be enabled when tracing
4265 * for tracing.
5819 * the graph tracing needs to test if its the function update_function_graph_func()
H A Dtrace.h203 * the trace_buffer so the tracing can continue.
250 /* function tracing enabled */
366 * @start: called when tracing is unpaused (echo 1 > tracing_enabled)
367 * @stop: called when tracing is paused (echo 0 > tracing_enabled)
428 * For function tracing recursion:
431 * When function tracing occurs, the following steps are made:
475 * As we need a way to maintain state if we are tracing the function
477 * was called in irq context but we have irq tracing off. Since this
H A Dtrace_functions_graph.c23 * the function graph tracing. This function is called by the critical
34 * In case of an error int function graph tracing, this is called
35 * to try to keep function graph tracing from causing any more harm.
334 * to recover the original index in order to continue tracing after trace_graph_entry()
438 /* Make graph_array visible before we start tracing */ set_graph_array()
H A Dtrace_sched_wakeup.c569 * Once you start tracing a -deadline task, don't bother tracing probe_wakeup()
717 /* make sure we put back any tasks we are tracing */ wakeup_tracer_reset()
H A Dtrace_irqsoff.c398 /* Always clear the tracing cpu on stopping the trace */ stop_critical_timing()
633 /* Only toplevel instance supports graph tracing */ __irqsoff_tracer_init()
H A Dtrace_entries.h34 * internel structures are just tracing helpers, this is not
H A Dtrace_mmiotrace.c2 * Memory mapped I/O tracing
H A Dtrace_printk.c96 * The debugfs/tracing/printk_formats file maps the addresses with
H A Dtrace_stat.c2 * Infrastructure for statistic tracing (histogram output).
H A Dblktrace.c434 * Setup everything required to start tracing
633 * blk_trace_ioctl: - handle the ioctls associated with tracing
1477 * Setup everything required to start tracing
1512 * sysfs interface to enable and configure tracing
H A Dtrace_syscalls.c61 * the tracing system know that it should ignore it.
/linux-4.4.14/drivers/scsi/qla4xxx/
H A Dql4_dbg.h12 /* #define QL_DEBUG_LEVEL_3 */ /* Output function tracing */
/linux-4.4.14/drivers/scsi/esas2r/
H A Desas2r_log.h55 ESAS2R_LOG_TRCE = 5, /* tracing events */
74 * the following macros are provided specifically for debugging and tracing
76 * debugging and tracing events. esas2r_hdebug is provided specifically for
77 * hardware layer debugging and tracing events.
/linux-4.4.14/arch/powerpc/platforms/powernv/
H A Dopal-tracepoints.c39 * Since the tracing code might execute OPAL calls we need to guard against
/linux-4.4.14/tools/perf/util/
H A Dprobe-event.h20 /* kprobe-tracer and uprobe-tracer tracing point */
30 /* probe-tracer tracing argument referencing offset */
36 /* kprobe-tracer and uprobe-tracer tracing argument */
44 /* kprobe-tracer and uprobe-tracer tracing event (point + arg) */
H A Dtrace-event-info.c113 pr_debug("can't get tracing/events/header_page"); record_header_files()
136 pr_debug("can't get tracing/events/header_event"); record_header_files()
247 pr_debug("can't get tracing/events/ftrace"); record_ftrace_files()
282 pr_debug("can't get tracing/events"); record_event_files()
363 pr_debug("can't get tracing/printk_formats"); record_ftrace_printk()
453 memcpy(buf + 3, "tracing", 7); tracing_data_header()
521 * tracing data are stored into it. tracing_data_get()
545 * All tracing data are stored by now, we can restore tracing_data_get()
H A Dauxtrace.h53 * struct itrace_synth_opts - AUX area tracing synthesis options.
92 * struct auxtrace_index_entry - indexes a AUX area tracing event within a
105 * struct auxtrace_index - index of AUX area tracing events within a perf.data
139 * struct auxtrace_buffer - a buffer containing AUX area tracing data.
181 * struct auxtrace_queue - a queue of AUX area tracing data buffers.
197 * struct auxtrace_queues - an array of AUX area tracing queues.
224 * struct auxtrace_heap - a heap suitable for sorting AUX area tracing queues.
569 pr_err("AUX area tracing not supported\n"); itrace_parse_synth_opts()
580 pr_err("AUX area tracing not supported\n"); auxtrace_parse_snapshot_options()
H A Dtrace-event-read.c372 if (memcmp(buf, "tracing", 7) != 0) { trace_report()
373 pr_debug("not a trace file (missing 'tracing' tag)"); trace_report()
H A Dauxtrace.c75 pr_err("Cannot use AUX area tracing mmaps\n"); auxtrace_mmap__mmap()
490 pr_err("AUX area tracing is not supported on this architecture\n"); auxtrace_not_supported()
558 pr_err("No AUX area tracing to snapshot\n"); auxtrace_parse_snapshot_options()
H A Dheader.c2763 * - write the tracing data to the temp file perf_event__synthesize_tracing_data()
2765 * - write the tracing data from the temp file perf_event__synthesize_tracing_data()
2784 * The put function will copy all the tracing data perf_event__synthesize_tracing_data()
2818 pr_err("%s: repiping tracing data padding", __func__); perf_event__process_tracing_data()
2824 pr_err("%s: tracing data size mismatch", __func__); perf_event__process_tracing_data()
/linux-4.4.14/drivers/hwtracing/coresight/
H A Dcoresight-etm4x.h190 * @enable: Is this ETM currently tracing.
192 * @boot_enable:True if we should start tracing at boot time.
194 * @nr_pe: The number of processing entity available for tracing.
196 * available for tracing.
205 * @nr_resource:The number of resource selection pairs available for tracing.
213 * instruction tracing.
220 * @cfg: Controls the tracing options.
221 * @eventctrl0: Controls the tracing of arbitrary events.
241 * @trcbb: Indicates if the trace unit supports branch broadcast tracing.
278 * @s_ex_level: In secure state, indicates whether instruction tracing is
280 * @ns_ex_level:In non-secure state, indicates whether instruction tracing is
H A Dcoresight-etm4x.c206 dev_info(drvdata->dev, "ETM tracing enabled\n"); etm4_enable()
242 * with tracing being left on (crash scenario) if user disable occurs etm4_disable()
261 dev_info(drvdata->dev, "ETM tracing disabled\n"); etm4_disable()
437 /* Disable data tracing: do not trace load and store data transfers */ reset_store()
441 /* Disable data value and data address tracing */ reset_store()
446 /* Disable all events tracing */ reset_store()
591 /* bit[6], Context ID tracing bit */ mode_store()
602 /* bits[10:8], Conditional instruction tracing bit */ mode_store()
609 /* bit[11], Global timestamp tracing bit */ mode_store()
996 /* enable instruction tracing for corresponding exception level */ s_exlevel_vinst_store()
1029 /* enable instruction tracing for corresponding exception level */ ns_exlevel_vinst_store()
1848 * only implemented when ctxid tracing is enabled, i.e. at least one ctxid_pid_store()
1891 * only implemented when ctxid tracing is enabled, i.e. at least one ctxid_masks_store()
2030 * only implemented when vmid tracing is enabled, i.e. at least one vmid_val_store()
2066 * only implemented when vmid tracing is enabled, i.e. at least one vmid_masks_store()
2315 /* find all capabilities of the tracing unit */ etm4_init_arch_data()
2318 /* INSTP0, bits[2:1] P0 tracing support field */ etm4_init_arch_data()
2324 /* TRCBB, bit[5] Branch broadcast tracing support bit */ etm4_init_arch_data()
2330 /* TRCCOND, bit[6] Conditional instruction tracing support bit */ etm4_init_arch_data()
2375 /* EXLEVEL_S, bits[19:16] Secure state instruction tracing */ etm4_init_arch_data()
2377 /* EXLEVEL_NS, bits[23:20] Non-secure state instruction tracing */ etm4_init_arch_data()
2407 /* NUMPROC, bits[30:28] the number of PEs available for tracing */ etm4_init_arch_data()
2418 /* NUMACPAIRS, bits[0:3] number of addr comparator pairs for tracing */ etm4_init_arch_data()
2420 /* NUMPC, bits[15:12] number of PE comparator inputs for tracing */ etm4_init_arch_data()
2431 * comparator control for tracing etm4_init_arch_data()
2434 /* NUMCIDC, bits[27:24] number of Context ID comparators for tracing */ etm4_init_arch_data()
2436 /* NUMVMIDC, bits[31:28] number of VMID comparators for tracing */ etm4_init_arch_data()
2459 /* NUMCNTR, bits[30:28] number of counters available for tracing */ etm4_init_arch_data()
2472 /* disable all events tracing */ etm4_init_default_data()
H A Dcoresight-etm.h150 * @enable: is this ETM/PTM currently tracing.
152 * @boot_enable:true if we should start tracing at boot time.
H A Dcoresight-etm3x.c365 dev_info(drvdata->dev, "ETM tracing enabled\n"); etm_enable()
402 * with tracing being left on (crash scenario) if user disable occurs etm_disable()
420 dev_info(drvdata->dev, "ETM tracing disabled\n"); etm_disable()
/linux-4.4.14/drivers/usb/dwc3/
H A Dio.h40 * When tracing we want to make it easy to find the correct address on dwc3_readl()
62 * When tracing we want to make it easy to find the correct address on dwc3_writel()
/linux-4.4.14/arch/um/kernel/
H A Dsignal.c98 * from it, the tracing thread used to PTRACE_SINGLESTEP the process do_signal()
100 * on the host. The tracing thread will check this flag and do_signal()
H A Dptrace.c133 * PT_PTRACED vs TIF_SYSCALL_TRACE for syscall tracing check
/linux-4.4.14/include/uapi/linux/
H A Dsched.h12 #define CLONE_PTRACE 0x00002000 /* set if we want to let tracing continue on the child too */
22 #define CLONE_UNTRACED 0x00800000 /* set if the tracing process can't force CLONE_PTRACE on this clone */
H A Dsysctl.h929 ABI_TRACE=5, /* tracing flags */
/linux-4.4.14/arch/arm/kernel/
H A Dentry-common.S31 * have tracing and context tracking disabled - the overheads from those
38 ldr r1, [tsk, #TI_FLAGS] @ re-check for syscall tracing
55 * The "replacement" ret_fast_syscall for when tracing or context tracking
64 ldr r1, [tsk, #TI_FLAGS] @ re-check for syscall tracing
89 * "notrace" version to avoid calling into the tracing code unnecessarily.
220 ldr r10, [tsk, #TI_FLAGS] @ check for syscall tracing
223 tst r10, #_TIF_SYSCALL_WORK @ are we tracing syscalls?
H A Dftrace.c2 * Dynamic function tracing support.
/linux-4.4.14/arch/c6x/kernel/
H A Dptrace.c165 * handle tracing of system call entry
171 /* tracing decided this syscall should not happen, so syscall_trace_entry()
182 * handle tracing of system call exit
H A Dtraps.c368 * routine; if so, print it so that someone tracing show_trace()
/linux-4.4.14/drivers/scsi/qla2xxx/
H A Dqla_dfs.c64 /* Pause tracing to flush FCE buffers. */ qla2x00_dfs_fce_open()
89 /* Re-enable FCE tracing. */ qla2x00_dfs_fce_release()
/linux-4.4.14/security/apparmor/
H A Dipc.c57 * @tracer: profile of the task doing the tracing (NOT NULL)
79 * @tracer: task doing the tracing (NOT NULL)
H A Ddomain.c55 * Check if current is ptraced and if so if the tracing task is allowed
825 /* check if tracing task is allowed to trace target domain */ aa_change_profile()
/linux-4.4.14/arch/x86/include/asm/
H A Dftrace.h52 * this screws up the trace output when tracing a ia32 task.
H A Dnops.h5 * Define nops for use with alternative() and for tracing.
H A Dperf_event.h154 * We model BTS tracing as another fixed-mode PMC.
/linux-4.4.14/net/dns_resolver/
H A Dinternal.h39 * debug tracing
/linux-4.4.14/include/trace/events/
H A Drpm.h14 * The rpm_internal events are used for tracing some important
/linux-4.4.14/arch/frv/kernel/
H A Dptrace.c1 /* ptrace.c: FRV specific parts of process tracing
352 * handle tracing of system call entry
359 /* tracing decided this syscall should not happen, so syscall_trace_entry()
371 * handle tracing of system call exit
/linux-4.4.14/arch/arm64/include/asm/
H A Dftrace.h44 * tracing compat syscalls may result in reporting bogus syscalls or even
/linux-4.4.14/tools/perf/arch/x86/util/
H A Dauxtrace.c2 * auxtrace.c: AUX area tracing support
H A Dintel-bts.c176 pr_err("Snapshot size %zu must not be greater than AUX area tracing mmap size %zu\n",
182 pr_err("Failed to calculate default snapshot size and/or AUX area tracing mmap pages\n");
H A Dintel-pt.c569 pr_err("Snapshot size %zu must not be greater than AUX area tracing mmap size %zu\n",
575 pr_err("Failed to calculate default snapshot size and/or AUX area tracing mmap pages\n");
715 ui__warning("Intel Processor Trace decoding will not be possible except for kernel tracing!\n");
/linux-4.4.14/arch/tile/include/uapi/arch/
H A Dsim_def.h51 * sets the tracing mask to the given mask. See "sim_set_tracing()".
161 /** If written to SPR_SIM_CONTROL, enables memory tracing. */
164 /** If written to SPR_SIM_CONTROL, disables memory tracing. */
284 /** Turn off all tracing when passed to simulator_set_tracing(). */
287 /** Turn on all tracing when passed to simulator_set_tracing(). */
292 /** Computes the value to write to SPR_SIM_CONTROL to set tracing flags. */
479 * When reading SPR_SIM_CONTROL, the mask of simulator tracing bits
H A Dsim.h78 * Report whether or not various kinds of simulator tracing are enabled.
99 * Turn on or off different kinds of simulator tracing.
103 * SIM_TRACE_NONE (turns off tracing),
104 * SIM_TRACE_ALL (turns on all possible tracing).
/linux-4.4.14/drivers/oprofile/
H A Dcpu_buffer.c79 b->tracing = 0; for_each_possible_cpu()
287 cpu_buf->tracing = 1; oprofile_begin_trace()
292 cpu_buf->tracing = 0; oprofile_end_trace()
423 if (!cpu_buf->tracing) oprofile_add_trace()
438 cpu_buf->tracing = 0; oprofile_add_trace()
H A Dcpu_buffer.h45 int tracing; member in struct:oprofile_cpu_buffer
/linux-4.4.14/arch/m68k/ifpsp060/
H A Diskeleton.S90 | Linux/68k: commented out test for tracing
94 | tst.b (%sp) | is tracing enabled?
126 | no action associated with the "chk" exception. If tracing is enabled,
130 | Linux/68k: commented out test for tracing
134 | tst.b (%sp) | is tracing enabled?
/linux-4.4.14/arch/mn10300/kernel/
H A Dptrace.c1 /* MN10300 Process tracing
295 * handle the arch-specific side of process tracing
363 * handle tracing of system call entry
369 /* tracing decided this syscall should not happen, so syscall_trace_entry()
380 * handle tracing of system call exit
H A Dentry.S102 # tracing
132 # is there any work to be done other than syscall tracing?
148 # perform syscall entry tracing
164 # userspace resumption stub bypassing syscall exit tracing
/linux-4.4.14/arch/tile/kernel/
H A Dmcount_64.S94 * a placeholder for the call to a real tracing function, i.e.
103 * a placeholder for the call to a real tracing function, i.e.
/linux-4.4.14/arch/cris/arch-v10/kernel/
H A Dptrace.c118 /* don't allow the tracing process to change stuff like arch_ptrace()
189 /* the 0x80 provides a way for the tracing parent to distinguish do_syscall_trace()
/linux-4.4.14/scripts/tracing/
H A Ddraw_functrace.py16 # echo function > /sys/kernel/debug/tracing/current_tracer
17 $ cat /sys/kernel/debug/tracing/trace_pipe > ~/raw_trace_func
/linux-4.4.14/arch/mips/kernel/
H A Dmcount.S76 /* When tracing is activated, it calls ftrace_caller+8 (aka here) */
98 nop /* a placeholder for the call to a real tracing function */
H A Dentry.S147 # other than syscall tracing?
H A Dptrace32.c14 * At this time Linux/MIPS64 only supports syscall tracing, even for 32-bit
H A Dscall64-64.S51 LONG_L t0, TI_FLAGS($28) # syscall tracing enabled?
H A Dscall64-n32.S51 LONG_L t0, TI_FLAGS($28) # syscall tracing enabled?
H A Dftrace.c394 * entries configured through the tracing/set_graph_function interface. prepare_ftrace_return()
H A Dscall32-o32.S87 lw t0, TI_FLAGS($28) # syscall tracing enabled?
H A Dscall64-o32.S86 LONG_L t0, TI_FLAGS($28) # syscall tracing enabled?
/linux-4.4.14/drivers/scsi/
H A Dscsi_logging.h8 * can be really useful for fault tracing. The logging word is divided into
/linux-4.4.14/drivers/staging/rdma/ehca/
H A Dhcp_phyp.c4 * load store abstraction for ehca register access with tracing
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmsmac/
H A Dbrcms_trace_brcmsmac.h38 * Fast binary tracing: define the trace record via TP_STRUCT__entry().
/linux-4.4.14/lib/
H A Dsyscall.c39 * as when it's stopped for signal handling or syscall exit tracing.
/linux-4.4.14/kernel/time/
H A Dtick-broadcast-hrtimer.c60 * hrtimer_{start/cancel} functions call into tracing, bc_set_next()
/linux-4.4.14/arch/hexagon/kernel/
H A Dvm_ops.S27 * macros, but for tracing/debugging it's handy to have
H A Dtraps.c184 /* If newfp isn't larger, we're tracing garbage. */ do_show_stack()
/linux-4.4.14/tools/perf/
H A Dbuiltin-buildid-list.c70 * We take all buildids when the file contains AUX area tracing data perf_session__list_build_ids()
H A Dbuiltin-record.c240 pr_debug("Recording AUX area tracing snapshot\n"); record__read_auxtrace_snapshot()
579 pr_err("Couldn't record tracing data.\n"); __cmd_record()
684 pr_err("AUX area tracing snapshot failed\n"); __cmd_record()
759 * AUX area tracing data because we do not decode the __cmd_record()
1055 "number of mmap data pages and AUX area tracing mmap pages",
1111 "opts", "AUX area tracing Snapshot Mode", ""),
H A Dperf-with-kcore.sh164 echo "*** WARNING *** system-wide tracing without root access will not be able to read all necessary information from /proc" >&2
/linux-4.4.14/arch/x86/kernel/
H A Dmcount_64.S48 * On boot up, all these calls are converted into nops. When tracing
50 * ftrace_regs_caller. Callbacks (tracing functions) that require
285 * function tracing is enabled.
/linux-4.4.14/samples/bpf/
H A Dbpf_load.c24 #define DEBUGFS "/sys/kernel/debug/tracing/"
106 "echo '%c:%s %s' >> /sys/kernel/debug/tracing/kprobe_events", load_and_attach()
248 i = system("echo \"\" > /sys/kernel/debug/tracing/kprobe_events"); load_bpf_file()
/linux-4.4.14/arch/m32r/kernel/
H A Dentry.S151 ; userspace resumption stub bypassing syscall exit tracing
199 ; system call tracing in operation
234 ; than syscall tracing?
246 ; perform syscall exit tracing
264 ; perform syscall exit tracing
/linux-4.4.14/include/net/9p/
H A D9p.h33 * @P9_DEBUG_9P: 9P protocol tracing
34 * @P9_DEBUG_VFS: VFS API tracing
35 * @P9_DEBUG_CONV: protocol conversion tracing
37 * @P9_DEBUG_TRANS: transport tracing
38 * @P9_DEBUG_SLABS: memory management tracing
42 * @P9_DEBUG_FSC: FS-cache tracing
46 * verbosity and tracing which will be output to the system logs.
/linux-4.4.14/drivers/isdn/hardware/eicon/
H A Ddebuglib.h99 * Debug mask for kernel mode tracing, if set the output is also sent to
161 * tracing to maint and kernel if selected in the trace mask.
172 * Standard tracing to maint driver.
/linux-4.4.14/arch/x86/mm/
H A Dmmio-mod.c86 MODULE_PARM_DESC(nommiotrace, "Disable actual MMIO tracing.");
175 * XXX: the timestamp recorded will be *after* the tracing has been pre()
450 pr_info("MMIO tracing disabled.\n"); enable_mmiotrace()
H A Dkmmio.c308 * the user should drop to single cpu before tracing. kmmio_handler()
336 * mmio tracing enabled), or erroneous behaviour post_kmmio_handler()
617 KERN_ERR "kmmio_page_table not empty at cleanup, any further tracing will leak memory.\n"); kmmio_cleanup()
/linux-4.4.14/drivers/staging/rtl8188eu/include/
H A Dodm_debug.h58 /* Define the tracing components */
/linux-4.4.14/drivers/staging/rtl8723au/include/
H A Dodm_debug.h64 /* Define the tracing components */
/linux-4.4.14/drivers/hwtracing/intel_th/
H A Dcore.c622 * intel_th_trace_enable() - enable tracing for an output device
623 * @thdev: output device that requests tracing be enabled
643 * intel_th_trace_disable() - disable tracing for an output device
644 * @thdev: output device that requests tracing be disabled
H A Dintel_th.h113 * @enable: enable tracing for a given output device
114 * @disable: disable tracing for a given output device
H A Dgth.c468 * intel_th_gth_disable() - enable tracing to an output device
473 * disable tracing using force storeEn off signal and wait for the
512 * intel_th_gth_enable() - enable tracing to an output device
517 * enable tracing using force storeEn signal.
/linux-4.4.14/drivers/acpi/acpica/
H A Dnsdumpdv.c120 /* Only dump the table if tracing is enabled */ acpi_ns_dump_root_devices()
H A Dexdebug.c340 /* Check if tracing is enabled */ acpi_ex_interpreter_trace_enabled()
347 * Check if tracing is filtered: acpi_ex_interpreter_trace_enabled()
561 /* Disable further tracing if type is one-shot */ acpi_ex_stop_trace_method()
H A Dpsxface.c70 * DESCRIPTION: External interface to enable debug tracing during control
H A Dutbuffer.c201 /* Only dump the buffer if tracing is enabled */ acpi_ut_debug_dump_buffer()
H A Dacglobal.h295 /* Support for dynamic control method tracing mechanism */
/linux-4.4.14/arch/unicore32/kernel/
H A Dptrace.c133 /* the 0x80 provides a way for the tracing parent to distinguish syscall_trace()
H A Dentry.S624 ldw ip, [tsk+], #TI_FLAGS @ check for syscall tracing
625 cand.a ip, #_TIF_SYSCALL_TRACE @ are we tracing syscalls?
/linux-4.4.14/arch/x86/kernel/acpi/
H A Dsleep.c112 * Pause/unpause graph tracing around do_suspend_lowlevel as it has x86_acpi_suspend_lowlevel()
/linux-4.4.14/arch/powerpc/include/uapi/asm/
H A Dsignal.h133 /* Enable or disable branch tracing. The value sets the state. */
/linux-4.4.14/arch/mips/include/asm/
H A Dirqflags.h168 * Do the CPU's IRQ-state tracing from assembly code.
/linux-4.4.14/arch/h8300/kernel/
H A Dtraps.c144 * routine; if so, print it so that someone tracing show_stack()
/linux-4.4.14/arch/arm64/kernel/
H A Dstacktrace.c2 * Stack tracing support
H A Dsuspend.c77 * disable graph tracing during their execution. cpu_suspend()
/linux-4.4.14/arch/arm/include/asm/
H A Dkgdb.h101 * So that we can denote the end of a frame for tracing,
/linux-4.4.14/drivers/remoteproc/
H A Dremoteproc_debugfs.c43 * We will most probably improve the rproc tracing facilities later on,
45 * as it provides very early tracing with little to no dependencies at all.
/linux-4.4.14/Documentation/trace/postprocess/
H A Dtrace-pagealloc-postprocess.pl7 # Example usage: trace-pagealloc-postprocess.pl < /sys/kernel/debug/tracing/trace_pipe
97 if (!open (FORMAT, "/sys/kernel/debug/tracing/events/$event/format")) {
H A Dtrace-vmscan-postprocess.pl6 # Example usage: trace-vmscan-postprocess.pl < /sys/kernel/debug/tracing/trace_pipe
143 if (!open (FORMAT, "/sys/kernel/debug/tracing/events/$event/format")) {
/linux-4.4.14/fs/tracefs/
H A Dinode.c2 * inode.c - part of tracefs, a pseudo file system for activating tracing
12 * tracefs is the file system that is used by the tracing infrastructure.
458 * If tracing is not enabled in the kernel, the value -%ENODEV will be
467 * tracefs_create_instance_dir - create the tracing instances directory
637 retval = sysfs_create_mount_point(kernel_kobj, "tracing"); tracefs_init()
/linux-4.4.14/include/acpi/
H A Dacoutput.h112 /* Trace verbosity level 2 [Function tracing and memory allocation] */
344 * Function entry tracing
375 * Function exit tracing
/linux-4.4.14/drivers/staging/rdma/ipath/
H A Dipath_debug.h45 * of the debug tracing stuff, and if compiled in, to enable or disable
/linux-4.4.14/drivers/scsi/snic/
H A Dsnic_trc.c165 * snic_trc_free : Releases the trace buffer and disables the tracing.
H A Dsnic_main.c867 SNIC_ERR("Failed to create sysfs dir for tracing and stats.\n"); snic_global_data_init()
876 SNIC_ERR("Trace buffer init failed, SNIC tracing disabled\n"); snic_global_data_init()
/linux-4.4.14/drivers/scsi/bfa/
H A Dbfa_modules.h114 struct bfa_trc_mod_s *trcmod; /* driver tracing */
H A Dbfa_cs.h85 * Define a new tracing file (module). Module should match one defined above.
/linux-4.4.14/drivers/isdn/sc/
H A Dcard.h99 int trace_mode; /* Indicate if tracing is on */
H A Dioctl.c328 pr_debug("%s: SCIOCTRACE: tracing turned %s\n", sc_ioctl()
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
H A Ddebug.h48 * messages are as important as other tracing or even more so.
/linux-4.4.14/kernel/rcu/
H A Drcu.h133 * tracing system such that tools like perf and trace-cmd can
H A Dtiny_plugin.h135 MODULE_DESCRIPTION("Read-Copy Update tracing for tiny implementation");
H A Dtree_trace.c2 * Read-Copy Update tracing for classic implementation
501 MODULE_DESCRIPTION("Read-Copy Update tracing for hierarchical implementation");
H A Dtree.h140 /* RCU's kthread states for tracing. */
223 /* State of boost_kthread_task for tracing. */
643 /* Read out queue lengths for tracing. */ rcu_nocb_q_lengths()
/linux-4.4.14/arch/powerpc/kernel/
H A DMakefile25 # timers used by tracing
/linux-4.4.14/arch/metag/kernel/
H A Dstacktrace.c54 * points to a pt_regs which can be used to continue tracing on unwind_frame()
/linux-4.4.14/arch/nios2/kernel/
H A Dtraps.c97 * routine; if so, print it so that someone tracing show_stack()
/linux-4.4.14/arch/parisc/kernel/
H A Dftrace.c2 * Code for tracing calls in Linux kernel.
H A Dptrace.c2 * Kernel support for the ptrace() and syscall tracing interfaces.
52 * enabling or disabling single/block tracing.
/linux-4.4.14/arch/cris/kernel/
H A Dtraps.c67 * routine; if so, print it so that someone tracing show_trace()
/linux-4.4.14/tools/testing/selftests/ftrace/
H A Dftracetest91 TRACING_DIR=$DEBUGFS_DIR/tracing
/linux-4.4.14/tools/virtio/virtio-trace/
H A Dtrace-agent.c24 "/sys/kernel/debug/tracing/per_cpu/cpu%d/trace_pipe_raw"
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/
H A Dtracefile.h155 * tracing code is entered in blockable context.
160 * is replenished when tracing code is entered in blocking
/linux-4.4.14/arch/sparc/kernel/
H A Dsyscalls.S162 /* Syscall tracing can modify the registers. */
192 /* Syscall tracing can modify the registers. */
H A Dptrace_32.c1 /* ptrace.c: Sparc process tracing support.
H A Drtrap_64.S63 * avoid running softirqs, doing IRQ tracing, preempting, etc.
H A Dperf_event.c761 /* We explicitly don't support hypervisor tracing. The T4
766 * unusable when you have hypervisor mode tracing enabled.
791 /* We explicitly don't support hypervisor tracing. */
/linux-4.4.14/arch/x86/entry/
H A Dentry_64_compat.S56 * User tracing code (ptrace or signal handlers) might assume that
274 * User tracing code (ptrace or signal handlers) might assume that
/linux-4.4.14/arch/arc/kernel/
H A Dentry.S253 ; If syscall tracing ongoing, invoke pre-post-hooks
336 ; a tracing signal, tracer could have done a POKEUSR(CALLEE reg)
H A Dentry-compact.S250 ; icause1 needs to be read early, before calling tracing, which
/linux-4.4.14/arch/cris/arch-v32/kernel/
H A Dptrace.c186 /* don't allow the tracing process to change stuff like arch_ptrace()
258 /* the 0x80 provides a way for the tracing parent to distinguish do_syscall_trace()
/linux-4.4.14/tools/vm/
H A Dslabinfo.c92 int tracing; variable
678 if (tracing) debug_opt_scan()
680 tracing = 1; debug_opt_scan()
753 if (tracing && !s->trace) { slab_debug()
759 if (!tracing && s->trace) slab_debug()
/linux-4.4.14/drivers/staging/rdma/hfi1/
H A Dcommon.h70 * HFI1_VERBOSE_TRACING define as 1 if you want additional tracing in
74 * _HFI1_TRACING define as 0 if you want to remove all tracing in a
/linux-4.4.14/arch/xtensa/kernel/
H A Dptrace.c322 * The 0x80 provides a way for the tracing parent to distinguish do_syscall_trace()
H A Dstacktrace.c2 * Kernel and userspace stack tracing.
/linux-4.4.14/fs/ocfs2/cluster/
H A Dmasklog.h89 #define ML_HB_BIO 0x0000000000000010ULL /* hb io tracing */
/linux-4.4.14/arch/powerpc/oprofile/
H A Dcommon.c185 /* Default to tracing both kernel and user */ op_powerpc_create_files()
/linux-4.4.14/arch/hexagon/include/asm/
H A Dhexagon_vm.h31 * for tracing/debugging.
/linux-4.4.14/arch/ia64/kernel/
H A Dftrace.c2 * Dynamic function tracing support.
/linux-4.4.14/sound/isa/wavefront/
H A Dwavefront_fx.c234 utility was run with I/O tracing in DOSEMU enabled, and a reconstruction
/linux-4.4.14/drivers/scsi/fnic/
H A Dfnic_trace.c443 pr_err("fnic: Failed to initialize debugfs for tracing\n"); fnic_trace_buf_init()
534 pr_err("fnic: Failed to initialize FC_CTLR tracing.\n"); fnic_fc_trace_init()
/linux-4.4.14/samples/trace_events/
H A Dtrace-events-sample.h3 * in the ftrace directory under /sys/kernel/tracing/events/<system>
307 * Would cause a little overhead when tracing is not enabled, and that
/linux-4.4.14/scripts/
H A Drecordmcount.h146 * tracing(ftrace_make_nop), the instruction in the position is replaced with
147 * the "b label" instruction, to enable tracing(ftrace_make_call), replace the
H A Drecordmcount.pl14 # them into nops. When tracing or profiling is later enabled, these locations
320 # them, which means dynamic tracing.
/linux-4.4.14/drivers/net/fddi/skfp/
H A Decm.c62 #define EC2_TRACE 2 /* tracing */
/linux-4.4.14/drivers/net/ethernet/neterion/vxge/
H A Dvxge-main.h450 /* Debug tracing for VXGE driver */
/linux-4.4.14/arch/tile/include/asm/
H A Dirqflags.h297 * Do the CPU's IRQ-state tracing from assembly code. We call a
/linux-4.4.14/fs/fscache/
H A Dinternal.h349 * debug tracing
/linux-4.4.14/fs/cachefiles/
H A Dinternal.h273 * debug tracing
/linux-4.4.14/fs/xfs/libxfs/
H A Dxfs_alloc.h40 /* this should become an enum again when the tracing code is fixed */
H A Dxfs_btree.h458 * over to the generic tracing functionality, which is some effort.
/linux-4.4.14/arch/s390/include/uapi/asm/
H A Dptrace.h364 * switched on & off while not affecting other tracing
/linux-4.4.14/arch/score/kernel/
H A Dentry.S312 # other than syscall tracing?
H A Dptrace.c369 /* The 0x80 provides a way for the tracing parent to distinguish do_syscall_trace()
/linux-4.4.14/arch/sh/kernel/
H A Dptrace_32.c2 * SuperH process tracing
/linux-4.4.14/arch/avr32/kernel/
H A Dptrace.c199 /* The 0x80 provides a way for the tracing parent to syscall_trace()
/linux-4.4.14/drivers/staging/lustre/include/linux/libcfs/
H A Dlibcfs_private.h393 * Support for temporary event tracing with minimal Heisenberg effect.
/linux-4.4.14/drivers/iio/
H A Dindustrialio-trigger.c555 /* use raw alloc_dr for kmalloc caller tracing */ devm_iio_trigger_alloc()
/linux-4.4.14/drivers/net/ethernet/sfc/
H A Dmcdi.h61 * @logging_buffer: buffer that may be used to build MCDI tracing messages
/linux-4.4.14/arch/x86/kernel/cpu/
H A Dperf_event_intel_bts.c499 * BTS leaks kernel addresses even when CPL0 tracing is bts_event_init()
/linux-4.4.14/fs/gfs2/
H A Dtrace_gfs2.h428 * Performance: Block allocator tracing
/linux-4.4.14/arch/mips/sibyte/common/
H A Dsb_tbprof.c143 * overflow, to trigger the start of tracing.

Completed in 6183 milliseconds

12