Home
last modified time | relevance | path

Searched full:trace (Results 1 – 25 of 2999) sorted by relevance

12345678910>>...120

/OK3568_Linux_fs/kernel/tools/perf/
H A Dbuiltin-trace.c2 * builtin-trace.c
4 * Builtin 'trace' command:
6 * Display a continuously updated trace of any workload, CPU, specific PID,
12 * Initially based on the 'trace' prototype by Thomas Gleixner:
14 * http://lwn.net/Articles/415728/ ("Announcing a new utility: 'trace'")
52 #include "trace/beauty/beauty.h"
53 #include "trace-event.h"
117 struct trace { struct
289 * The evsel->priv as used by 'perf trace'
719 #include "trace/beauty/generated/fsconfig_arrays.c"
[all …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-kernel/trace-cmd/files/
H A D0001-trace-cmd-make-it-build-with-musl.patch4 Subject: [PATCH] trace-cmd: make it build with musl
8 include/trace-cmd/trace-cmd.h | 1 +
9 lib/trace-cmd/trace-msg.c | 1 +
10 lib/trace-cmd/trace-plugin.c | 2 ++
12 tracecmd/trace-agent.c | 1 +
13 tracecmd/trace-setup-guest.c | 1 +
14 tracecmd/trace-tsync.c | 15 ++++++++++-----
17 diff --git a/include/trace-cmd/trace-cmd.h b/include/trace-cmd/trace-cmd.h
19 --- a/include/trace-cmd/trace-cmd.h
20 +++ b/include/trace-cmd/trace-cmd.h
[all …]
/OK3568_Linux_fs/kernel/tools/virtio/virtio-trace/
H A DREADME1 Trace Agent for virtio-trace
4 Trace agent is a user tool for sending trace data of a guest to a Host in low
5 overhead. Trace agent has the following functions:
8 - write trace data to stdout by using -o option
11 The trace agent operates as follows:
16 4) After the controller of the trace agent receives a start order from a host,
18 5) The read/write threads start to read trace data from ring-buffers and
21 stop to read trace data.
28 Makefile: Makefile of trace agent for virtio-trace
29 trace-agent.c: includes main function, sets up for operating trace agent
[all …]
/OK3568_Linux_fs/u-boot/doc/
H A DREADME.trace18 The trace feature uses GCC's instrument-functions feature to trace all
24 which extracts useful information from it. The resulting trace output
50 Run sandbox, wait for a bit of trace information to appear, and then capture
51 a trace:
59 trace: enabled
65 =>trace stats
73 =>trace stats
81 =>trace calls 0 e00000
93 =>sb save host 0 trace 0 ${profoffset}
98 Then run proftool to convert the trace information to ftrace format.
[all …]
/OK3568_Linux_fs/kernel/drivers/android/
H A Dvendor_hooks.c15 #include <trace/hooks/vendor_hooks.h>
17 #include <trace/hooks/sched.h>
18 #include <trace/hooks/cpu.h>
19 #include <trace/hooks/fpsimd.h>
20 #include <trace/hooks/binder.h>
21 #include <trace/hooks/rwsem.h>
22 #include <trace/hooks/futex.h>
23 #include <trace/hooks/dtask.h>
24 #include <trace/hooks/cpuidle.h>
25 #include <trace/hooks/topology.h>
[all …]
/OK3568_Linux_fs/kernel/drivers/hwtracing/intel_th/
H A DKconfig3 tristate "Intel(R) Trace Hub controller"
6 Intel(R) Trace Hub (TH) is a set of hardware blocks (subdevices) that
7 produce, switch and output trace data from multiple hardware and
8 software sources over several types of trace output ports encoded
9 in System Trace Protocol (MIPI STPv2) and is intended to perform
16 Say Y here to enable Intel(R) Trace Hub controller support.
21 tristate "Intel(R) Trace Hub PCI controller"
24 Intel(R) Trace Hub may exist as a PCI device. This option enables
30 tristate "Intel(R) Trace Hub ACPI controller"
33 Intel(R) Trace Hub may exist as an ACPI device. This option enables
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/csf/
H A Dmali_kbase_csf_trace_buffer.h35 * kbase_csf_firmware_trace_buffers_init - Initialize trace buffers
39 * Allocate resources for trace buffers. In particular:
41 * the Extract variables of all trace buffers.
43 * the Insert variables of all trace buffers.
45 * for each trace buffer.
48 * insert, extract and data buffer variables. The size and the trace
61 * kbase_csf_firmware_trace_buffers_term - Terminate trace buffers
68 * kbase_csf_firmware_parse_trace_buffer_entry - Process a "trace buffer" section
75 * Read a "trace buffer" section adding metadata for the related trace buffer
78 * Unexpected trace buffers will not be parsed and, as a consequence,
[all …]
/OK3568_Linux_fs/kernel/Documentation/trace/coresight/
H A Dcoresight-etm4x-reference.rst23 :Trace Registers: {CONFIGR + others}
25 Bit select trace features. See ‘mode’ section below. Bits
26 in this will cause equivalent programming of trace config and
32 bitfield up to 32 bits setting trace features.
40 :Trace Registers: All
42 Reset all programming to trace nothing / no logic programmed.
50 :Trace Registers: PRGCTLR, All hardware regs.
53 and enables trace.
55 - = 0 : disable trace hardware.
63 :Trace Registers: None.
[all …]
/OK3568_Linux_fs/kernel/kernel/
H A Dstacktrace.c5 * Stack trace management functions
18 * stack_trace_print - Print the entries in the stack trace
37 * stack_trace_snprint - Print the entries in the stack trace into a buffer
104 * stack_trace_save - Save a stack trace into a storage array
107 * @skipnr: Number of entries to skip at the start of the stack trace
109 * Return: Number of trace entries stored.
127 * stack_trace_save_tsk - Save a task stack trace into a storage array
131 * @skipnr: Number of entries to skip at the start of the stack trace
133 * Return: Number of trace entries stored.
156 * stack_trace_save_regs - Save a stack trace based on pt_regs into a storage array
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/share/doc/gdb/
H A DStarting-and-Stopping-Trace-Experiments.html17 <title>Debugging with GDB: Starting and Stopping Trace Experiments</title>
19 <meta name="description" content="Debugging with GDB: Starting and Stopping Trace Experiments">
20 <meta name="keywords" content="Debugging with GDB: Starting and Stopping Trace Experiments">
64 <a name="Starting-and-Stopping-Trace-Experiments"></a>
70 <a name="Starting-and-Stopping-Trace-Experiments-1"></a>
71 <h4 class="subsection">13.1.9 Starting and Stopping Trace Experiments</h4>
75 <a name="index-start-a-new-trace-experiment"></a>
79 <dd><p>This command starts the trace experiment, and begins collecting data.
81 trace buffer during the previous trace experiment. If any arguments
82 are supplied, they are taken as a note and stored with the trace
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/share/doc/gdb/
H A DStarting-and-Stopping-Trace-Experiments.html17 <title>Debugging with GDB: Starting and Stopping Trace Experiments</title>
19 <meta name="description" content="Debugging with GDB: Starting and Stopping Trace Experiments">
20 <meta name="keywords" content="Debugging with GDB: Starting and Stopping Trace Experiments">
64 <a name="Starting-and-Stopping-Trace-Experiments"></a>
70 <a name="Starting-and-Stopping-Trace-Experiments-1"></a>
71 <h4 class="subsection">13.1.9 Starting and Stopping Trace Experiments</h4>
75 <a name="index-start-a-new-trace-experiment"></a>
79 <dd><p>This command starts the trace experiment, and begins collecting data.
81 trace buffer during the previous trace experiment. If any arguments
82 are supplied, they are taken as a note and stored with the trace
[all …]
/OK3568_Linux_fs/kernel/Documentation/trace/
H A Dintel_th.rst4 Intel(R) Trace Hub (TH)
10 Intel(R) Trace Hub (TH) is a set of hardware blocks that produce,
11 switch and output trace data from multiple hardware and software
12 sources over several types of trace output ports encoded in System
13 Trace Protocol (MIPI STPv2) and is intended to perform full system
14 debugging. For more information on the hardware, see Intel(R) Trace
17 It consists of trace sources, trace destinations (outputs) and a
18 switch (Global Trace Hub, GTH). These devices are placed on a bus of
23 - Software Trace Hub (STH), trace source, which is a System Trace
25 - Memory Storage Unit (MSU), trace output, which allows storing
[all …]
H A Dstm.rst4 System Trace Module
7 System Trace Module (STM) is a device described in MIPI STP specs as
8 STP trace stream generator. STP (System Trace Protocol) is a trace
9 protocol multiplexing data from multiple trace sources, each one of
12 hardware trace sources, others are available to software. Software
13 trace sources are usually free to pick for themselves any
16 On the receiving end of this STP stream (the decoder side), trace
18 order for the decoder to be able to make sense of the trace that
19 involves multiple trace sources, it needs to be able to map those
20 master/channel pairs to the trace sources that it understands.
[all …]
/OK3568_Linux_fs/kernel/arch/mips/kernel/
H A Dstacktrace.c3 * Stack trace management functions
17 static void save_raw_context_stack(struct stack_trace *trace, in save_raw_context_stack() argument
27 if (trace->skip > 0) in save_raw_context_stack()
28 trace->skip--; in save_raw_context_stack()
30 trace->entries[trace->nr_entries++] = addr; in save_raw_context_stack()
31 if (trace->nr_entries >= trace->max_entries) in save_raw_context_stack()
37 static void save_context_stack(struct stack_trace *trace, in save_context_stack() argument
50 save_raw_context_stack(trace, sp, savesched); in save_context_stack()
55 if (trace->skip > 0) in save_context_stack()
56 trace->skip--; in save_context_stack()
[all …]
/OK3568_Linux_fs/kernel/arch/openrisc/kernel/
H A Dstacktrace.c2 * Stack trace utility for OpenRISC
28 struct stack_trace *trace = data; in save_stack_address() local
33 if (trace->skip > 0) { in save_stack_address()
34 trace->skip--; in save_stack_address()
38 if (trace->nr_entries < trace->max_entries) in save_stack_address()
39 trace->entries[trace->nr_entries++] = addr; in save_stack_address()
42 void save_stack_trace(struct stack_trace *trace) in save_stack_trace() argument
44 unwind_stack(trace, (unsigned long *) &trace, save_stack_address); in save_stack_trace()
51 struct stack_trace *trace = (struct stack_trace *)data; in save_stack_address_nosched() local
59 if (trace->skip > 0) { in save_stack_address_nosched()
[all …]
/OK3568_Linux_fs/kernel/arch/sh/kernel/
H A Dstacktrace.c5 * Stack trace management functions
23 struct stack_trace *trace = data; in save_stack_address() local
28 if (trace->skip > 0) { in save_stack_address()
29 trace->skip--; in save_stack_address()
33 if (trace->nr_entries < trace->max_entries) in save_stack_address()
34 trace->entries[trace->nr_entries++] = addr; in save_stack_address()
41 void save_stack_trace(struct stack_trace *trace) in save_stack_trace() argument
45 unwind_stack(current, NULL, sp, &save_stack_ops, trace); in save_stack_trace()
52 struct stack_trace *trace = (struct stack_trace *)data; in save_stack_address_nosched() local
60 if (trace->skip > 0) { in save_stack_address_nosched()
[all …]
/OK3568_Linux_fs/kernel/tools/lib/traceevent/Documentation/
H A Dlibtraceevent-tseq.txt9 Initialize / destroy a trace sequence.
16 *#include <trace-seq.h>*
32 Trace sequences are used to allow a function to call several other functions
35 The _trace_seq_init()_ function initializes the trace sequence _s_.
37 The _trace_seq_destroy()_ function destroys the trace sequence _s_ and frees
40 The _trace_seq_reset()_ function re-initializes the trace sequence _s_. All
43 The _trace_seq_terminate()_ function terminates the trace sequence _s_. It puts
46 The _trace_seq_putc()_ function puts a single character _c_ in the trace
50 trace sequence _s_.
53 variable arguments _..._ in the trace sequence _s_.
[all …]
/OK3568_Linux_fs/kernel/drivers/hwtracing/coresight/
H A DKconfig13 and trace drivers to register themselves with. It's intended to build
16 trace source gets enabled.
26 responsible for transporting and collecting the trace data
27 respectively. Link and sinks are dynamically aggregated with a trace
28 entity at run time to form a complete trace path.
38 This enables support for the Trace Memory Controller driver.
40 trace router - ETR) or sink (embedded trace FIFO). The driver
53 lookup. CATU helps TMC ETR to use a large physically non-contiguous trace
65 This enables support for the Trace Port Interface Unit driver,
67 components and a trace for bridging the gap between the on-chip
[all …]
/OK3568_Linux_fs/kernel/drivers/s390/scsi/
H A Dzfcp_dbf.h28 * struct zfcp_dbf_rec_trigger - trace record for triggered recovery action
42 * struct zfcp_dbf_rec_running - trace record for running recovery
58 * enum zfcp_dbf_rec_id - recovery trace record id
68 * struct zfcp_dbf_rec - trace record for error recovery actions
97 * enum zfcp_dbf_san_id - SAN trace record identifier
98 * @ZFCP_DBF_SAN_REQ: request trace record id
99 * @ZFCP_DBF_SAN_RES: response trace record id
108 /** struct zfcp_dbf_san - trace record for SAN requests and responses
126 * struct zfcp_dbf_hba_res - trace record for hba responses
146 * struct zfcp_dbf_hba_uss - trace record for unsolicited status
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/ftrace/test.d/kprobe/
H A Dkprobe_ftrace.tc13 echo > trace
15 grep testprobe trace
16 ! grep "$FUNCTION_FORK <-" trace
20 echo > trace
22 grep testprobe trace
23 grep "$FUNCTION_FORK <-" trace
27 echo > trace
29 ! grep testprobe trace
30 grep "$FUNCTION_FORK <-" trace
35 echo > trace
[all …]
/OK3568_Linux_fs/kernel/arch/arm/kernel/
H A Dstacktrace.c90 struct stack_trace *trace; member
98 struct stack_trace *trace = data->trace; in save_trace() local
109 trace->entries[trace->nr_entries++] = addr; in save_trace()
111 if (trace->nr_entries >= trace->max_entries) in save_trace()
121 trace->entries[trace->nr_entries++] = regs->ARM_pc; in save_trace()
123 return trace->nr_entries >= trace->max_entries; in save_trace()
128 struct stack_trace *trace, unsigned int nosched) in __save_stack_trace() argument
133 data.trace = trace; in __save_stack_trace()
134 data.skip = trace->skip; in __save_stack_trace()
163 void save_stack_trace_regs(struct pt_regs *regs, struct stack_trace *trace) in save_stack_trace_regs() argument
[all …]
/OK3568_Linux_fs/kernel/arch/powerpc/kernel/
H A Dstacktrace.c4 * Stack trace utility functions etc.
31 static void save_context_stack(struct stack_trace *trace, unsigned long sp, in save_context_stack() argument
45 if (!trace->skip) in save_context_stack()
46 trace->entries[trace->nr_entries++] = ip; in save_context_stack()
48 trace->skip--; in save_context_stack()
51 if (trace->nr_entries >= trace->max_entries) in save_context_stack()
58 void save_stack_trace(struct stack_trace *trace) in save_stack_trace() argument
64 save_context_stack(trace, sp, current, 1); in save_stack_trace()
68 void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk() argument
80 save_context_stack(trace, sp, tsk, 0); in save_stack_trace_tsk()
[all …]
/OK3568_Linux_fs/u-boot/test/trace/
H A Dtest-trace.sh14 echo "Run trace"
16 trace stats
18 trace pause
19 trace stats
21 trace stats
22 trace resume
24 trace pause
25 trace stats
38 # 4 sets of results (output of 'trace stats')
40 fail "trace output error"
[all …]
/OK3568_Linux_fs/kernel/kernel/trace/
H A Dtrace_selftest.c2 /* Include in trace.c */
55 printk(KERN_CONT ".. corrupted trace buffer .. "); in trace_test_buffer_cpu()
60 * Test the trace buffer to see if all the elements
97 static inline void warn_failed_init_tracer(struct tracer *trace, int init_ret) in warn_failed_init_tracer() argument
100 trace->name, init_ret); in warn_failed_init_tracer()
208 * Probe 1 will trace function 1. in trace_selftest_ops()
209 * Probe 2 will trace function 2. in trace_selftest_ops()
210 * Probe 3 will trace functions 1 and 2. in trace_selftest_ops()
325 static int trace_selftest_startup_dynamic_tracing(struct tracer *trace, in trace_selftest_startup_dynamic_tracing() argument
355 ret = tracer_init(trace, tr); in trace_selftest_startup_dynamic_tracing()
[all …]
/OK3568_Linux_fs/kernel/arch/sparc/kernel/
H A Dstacktrace.c14 struct stack_trace *trace, in __save_stack_trace() argument
55 if (trace->skip > 0) in __save_stack_trace()
56 trace->skip--; in __save_stack_trace()
58 trace->entries[trace->nr_entries++] = pc; in __save_stack_trace()
66 if (trace->nr_entries < in __save_stack_trace()
67 trace->max_entries) in __save_stack_trace()
68 trace->entries[trace->nr_entries++] = pc; in __save_stack_trace()
74 } while (trace->nr_entries < trace->max_entries); in __save_stack_trace()
77 void save_stack_trace(struct stack_trace *trace) in save_stack_trace() argument
79 __save_stack_trace(current_thread_info(), trace, false); in save_stack_trace()
[all …]

12345678910>>...120