Home
last modified time | relevance | path

Searched refs:tracing (Results 1 – 25 of 135) sorted by relevance

123456

/Linux-v4.19/Documentation/trace/
Devents.rst13 using the event tracing infrastructure.
15 Not all tracepoints can be traced using the event tracing system;
17 tracing information is saved into the tracing buffer, and how the
18 tracing information should be printed.
26 The events which are available for tracing can be found in the file
27 /sys/kernel/debug/tracing/available_events.
30 to /sys/kernel/debug/tracing/set_event. For example::
32 # echo sched_wakeup >> /sys/kernel/debug/tracing/set_event
39 # echo '!sched_wakeup' >> /sys/kernel/debug/tracing/set_event
43 # echo > /sys/kernel/debug/tracing/set_event
[all …]
Dmmiotrace.rst2 In-kernel memory-mapped I/O tracing
10 MMIO tracing was originally developed by Intel around 2003 for their Fault
12 Jeff Muizelaar created a tool for tracing MMIO accesses with the Nouveau
28 supported, but tracing is unreliable and may miss events if more than one CPU
39 $ echo mmiotrace > /sys/kernel/debug/tracing/current_tracer
40 $ cat /sys/kernel/debug/tracing/trace_pipe > mydump.txt &
42 $ echo "X is up" > /sys/kernel/debug/tracing/trace_marker
43 $ echo nop > /sys/kernel/debug/tracing/current_tracer
59 $ echo mmiotrace > /sys/kernel/debug/tracing/current_tracer
63 $ cat /sys/kernel/debug/tracing/trace_pipe > mydump.txt &
[all …]
Dkprobetrace.rst20 /sys/kernel/debug/tracing/kprobe_events, and enable it via
21 /sys/kernel/debug/tracing/events/kprobes/<EVENT>/enable.
83 under tracing/events/kprobes/<EVENT>, at the directory you can see 'id',
105 /sys/kernel/debug/tracing/kprobe_profile.
115 …_sys_open dfd=%ax filename=%dx flags=%cx mode=+4($stack)' > /sys/kernel/debug/tracing/kprobe_events
125 echo 'r:myretprobe do_sys_open $retval' >> /sys/kernel/debug/tracing/kprobe_events
130 /sys/kernel/debug/tracing/events/kprobes/<EVENT>/format.
133 cat /sys/kernel/debug/tracing/events/kprobes/myprobe/format
156 echo > /sys/kernel/debug/tracing/kprobe_events
167 Right after definition, each event is disabled by default. For tracing these
[all …]
Dhwlat_detector.rst38 Write the ASCII text "hwlat" into the current_tracer file of the tracing system
39 (mounted at /sys/kernel/tracing or /sys/kernel/tracing). It is possible to
45 # echo hwlat > /sys/kernel/tracing/current_tracer
46 # echo 100 > /sys/kernel/tracing/tracing_thresh
48 The /sys/kernel/tracing/hwlat_detector interface contains the following files:
58 observed then the data will be written to the tracing ring buffer.
70 The following tracing directory files are used by the hwlat_detector:
72 in /sys/kernel/tracing:
Duprobetracer.rst15 /sys/kernel/debug/tracing/uprobe_events, and enable it via
16 /sys/kernel/debug/tracing/events/uprobes/<EVENT>/enable.
73 /sys/kernel/debug/tracing/uprobe_profile.
82 echo 'p /bin/bash:0x4245c0' > /sys/kernel/debug/tracing/uprobe_events
86 echo 'r /bin/bash:0x4245c0' > /sys/kernel/debug/tracing/uprobe_events
90 echo '-:p_bash_0x4245c0' >> /sys/kernel/debug/tracing/uprobe_events
94 cat /sys/kernel/debug/tracing/uprobe_events
98 echo > /sys/kernel/debug/tracing/uprobe_events
103 # cd /sys/kernel/debug/tracing/
147 Right after definition, each event is disabled by default. For tracing these
[all …]
Devents-msr.rst5 The x86 kernel supports tracing most MSR (Model Specific Register) accesses.
11 /sys/kernel/debug/tracing/events/msr/
37 cat /sys/kernel/debug/tracing/trace | decode_msr.py /usr/src/linux/include/asm/msr-index.h
Dhistogram.rst94 tracing code. Trying to apply that comm value to other pid
102 /sys/kernel/debug/tracing/events/net/netif_rx/trigger
104 # cat /sys/kernel/debug/tracing/events/net/netif_rx/hist
107 /sys/kernel/debug/tracing/events/net/netif_rx/trigger
152 Instead of enabling or disabling the tracing of the target event
163 /sys/kernel/debug/tracing/events/net/netif_receive_skb/trigger
166 /sys/kernel/debug/tracing/events/sched/sched_process_exec/trigger
169 /sys/kernel/debug/tracing/events/sched/sched_process_exit/trigger
210 # echo xxx > /sys/kernel/debug/tracing/events/sched/sched_wakeup/trigger
213 # cat /sys/kernel/debug/tracing/events/sched/sched_wakeup/hist
[all …]
Devents-nmi.rst7 /sys/kernel/debug/tracing/events/nmi
34 cd /sys/kernel/debug/tracing/events/nmi/nmi_handler
40 $ cat /sys/kernel/debug/tracing/trace_pipe
Dftrace.rst27 is really a frame work of several assorted tracing utilities.
28 There's latency tracing to examine what occurs between interrupts
32 One of the most common uses of ftrace is the event tracing.
53 option will do) the directory /sys/kernel/tracing will be created. To mount
56 tracefs /sys/kernel/tracing tracefs defaults 0 0
60 mount -t tracefs nodev /sys/kernel/tracing
65 ln -s /sys/kernel/tracing /tracing
69 Before 4.1, all ftrace tracing control files were within the debugfs
70 file system, which is typically located at /sys/kernel/debug/tracing.
74 /sys/kernel/debug/tracing
[all …]
/Linux-v4.19/Documentation/
Dirqflags-tracing.txt2 IRQ-flags state tracing
7 The "irq-flags tracing" feature "traces" hardirq and softirq state, in
21 state changes. But an architecture can be irq-flags-tracing enabled in a
30 irq-flags-tracing support:
37 irq-flags-tracing is spent in this state: look at the lockdep
40 lockdep complaint in the irq-flags-tracing functions arch support is
43 excluded from the irq-tracing [and lock validation] mechanism via
46 In general there is no risk from having an incomplete irq-flags-tracing
49 should be no crashes due to irq-tracing bugs. (except if the assembly
/Linux-v4.19/Documentation/acpi/
Dmethod-tracing.txt10 tracing facility.
14 ACPICA provides method tracing capability. And two functions are
63 There are special log entries added by the method tracing facility at
125 Note that all above method tracing facility related module parameters can
132 All method tracing functions can be configured via ACPI module
141 The temporary debug_layer used when the tracing feature is enabled.
146 The temporary debug_level used when the tracing feature is enabled.
151 The status of the tracing feature.
152 Users can enable/disable this debug tracing feature by executing
157 Disable the method tracing feature.
[all …]
/Linux-v4.19/drivers/char/mwave/
DREADME8 0x0001 mwavedd api tracing
9 0x0002 smapi api tracing
10 0x0004 3780i tracing
11 0x0008 tp3780i tracing
/Linux-v4.19/drivers/hwtracing/coresight/
DKconfig70 which allows tracing the instructions that a processor is executing
71 This is primarily useful for instruction level tracing. Depending
72 the ETM version data tracing may also be available.
79 This driver provides support for the ETM4.x tracer module, tracing the
81 for instruction level tracing. Depending on the implemented version
82 data tracing may also be available.
99 instrumentation based tracing. This is primarily used for
/Linux-v4.19/tools/lib/api/fs/
Dtracing_path.c20 static void __tracing_path_set(const char *tracing, const char *mountpoint) in __tracing_path_set() argument
24 mountpoint, tracing); in __tracing_path_set()
26 mountpoint, tracing, "events"); in __tracing_path_set()
/Linux-v4.19/arch/s390/kernel/
Dhead64.S77 .quad 0 # cr9: tracing off
78 .quad 0 # cr10: tracing off
79 .quad 0 # cr11: tracing off
80 .quad 0 # cr12: tracing off
/Linux-v4.19/kernel/trace/
DKconfig88 Adds a very slight overhead to tracing when enabled.
123 # be able to offer generic tracing facilities:
137 Enable the kernel tracing infrastructure.
154 tracing is enabled by the administrator. If it's runtime disabled
185 Enable tracing of disable and enable events for preemption and irqs.
206 echo 0 > /sys/kernel/debug/tracing/tracing_max_latency
231 echo 0 > /sys/kernel/debug/tracing/tracing_max_latency
259 Some files are created in the tracing directory when this
303 Allow tracing users to take snapshot of the current buffer using the
306 echo 1 > /sys/kernel/debug/tracing/snapshot
[all …]
/Linux-v4.19/Documentation/ABI/testing/
Dsysfs-bus-coresight-devices-etm4x5 Description: (RW) Enable/disable tracing on this specific trace entiry.
15 Description: (R) The CPU this tracing entity is associated with.
22 available for tracing.
29 available for tracing.
36 tracing.
49 available for tracing.
56 for tracing.
70 available for tracing.
77 are available for tracing.
91 P0 instruction tracing, branch broadcast, cycle counting and
[all …]
Dsysfs-bus-intel_th-devices-msc17 provided there are no active users and tracing is not enabled,
30 there are no active users and tracing is not enabled) and then
/Linux-v4.19/drivers/oprofile/
Dcpu_buffer.c81 b->tracing = 0; in alloc_cpu_buffers()
289 cpu_buf->tracing = 1; in oprofile_begin_trace()
294 cpu_buf->tracing = 0; in oprofile_end_trace()
425 if (!cpu_buf->tracing) in oprofile_add_trace()
440 cpu_buf->tracing = 0; in oprofile_add_trace()
/Linux-v4.19/tools/perf/Documentation/
Dperf-ftrace.txt17 functionality. It only supports single thread tracing currently and
69 tracing for functions executed from the given function.
77 and disables tracing for function executed from the given function.
/Linux-v4.19/kernel/rcu/
DKconfig.debug60 bool "Enable tracing for RCU"
66 event tracing.
68 Say Y here if you want to enable RCU tracing
/Linux-v4.19/arch/powerpc/platforms/powernv/
DKconfig36 bool "Enable removal of RAM from kernel mappings for tracing"
41 from the kernel mappings to be used for hardware tracing.
/Linux-v4.19/arch/nds32/kernel/
Dex-scall.S52 lwi $p0, [tsk+#TSK_TI_FLAGS] ! check for syscall tracing
54 andi $p1, $p0, #_TIF_WORK_SYSCALL_ENTRY ! are we tracing syscalls?
/Linux-v4.19/drivers/hwtracing/
DKconfig1 menu "HW tracing support"
/Linux-v4.19/drivers/net/wireless/ath/wil6210/
DKconfig33 bool "wil6210 tracing support"
39 using the kernel tracing infrastructure. Select this

123456