Home
last modified time | relevance | path

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

12345678910>>...182

/kernel/linux/linux-6.6/tools/virtio/virtio-trace/
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 …]
/kernel/linux/linux-5.10/tools/virtio/virtio-trace/
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 …]
/kernel/linux/linux-5.10/tools/perf/
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"
119 struct trace { struct
291 * The evsel->priv as used by 'perf trace'
721 #include "trace/beauty/generated/fsconfig_arrays.c"
[all …]
/kernel/linux/linux-6.6/tools/perf/
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'")
57 #include "trace/beauty/beauty.h"
58 #include "trace-event.h"
128 struct trace { struct
293 * The evsel->priv as used by 'perf trace'
729 #include "trace/beauty/generated/fsconfig_arrays.c"
[all …]
/kernel/linux/linux-5.10/arch/loongarch/kernel/
Dstacktrace.c3 * Stack trace management functions
18 typedef bool (*stack_trace_consume_fn)(struct stack_trace *trace,
21 static bool consume_entry(struct stack_trace *trace, unsigned long addr) in consume_entry() argument
23 if (trace->nr_entries >= trace->max_entries) in consume_entry()
26 if (trace->skip > 0) { in consume_entry()
27 trace->skip--; in consume_entry()
31 trace->entries[trace->nr_entries++] = addr; in consume_entry()
32 return trace->nr_entries < trace->max_entries; in consume_entry()
35 static bool consume_entry_nosched(struct stack_trace *trace, in consume_entry_nosched() argument
40 return consume_entry(trace, addr); in consume_entry_nosched()
[all …]
/kernel/linux/linux-6.6/tools/verification/rv/src/
Dtrace.c3 * trace helpers.
16 #include <trace.h>
20 * create_instance - create a trace instance with *instance_name
28 * destroy_instance - remove a trace instance and free the data
42 * Returns 0 if the event was collected, 1 if the tool should stop collecting trace.
48 struct trace_instance *trace = context; in collect_registered_events() local
49 struct trace_seq *s = trace->seq; in collect_registered_events()
63 * trace_instance_destroy - destroy and free a rv trace instance
65 void trace_instance_destroy(struct trace_instance *trace) in trace_instance_destroy() argument
67 if (trace->inst) { in trace_instance_destroy()
[all …]
/kernel/linux/linux-6.6/drivers/hwtracing/intel_th/
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 …]
/kernel/linux/linux-5.10/drivers/hwtracing/intel_th/
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 …]
/kernel/linux/linux-6.6/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/
Dtracepoints.rst11 kernel tracepoints interfaces (refer to Documentation/trace/ftrace.rst).
17 - mlx5e_configure_flower: trace flower filter actions and cookies offloaded to mlx5::
20 $ cat /sys/kernel/tracing/trace
24 - mlx5e_delete_flower: trace flower filter actions and cookies deleted from mlx5::
27 $ cat /sys/kernel/tracing/trace
31 - mlx5e_stats_flower: trace flower stats request::
34 $ cat /sys/kernel/tracing/trace
38 - mlx5e_tc_update_neigh_used_value: trace tunnel rule neigh update value offloaded to mlx5::
41 $ cat /sys/kernel/tracing/trace
45 - mlx5e_rep_neigh_update: trace neigh update tasks scheduled due to neigh state change events::
[all …]
/kernel/linux/linux-6.6/arch/mips/kernel/
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 …]
/kernel/linux/linux-5.10/arch/mips/kernel/
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 …]
/kernel/linux/linux-6.6/kernel/
Dstacktrace.c5 * Stack trace management functions
19 * stack_trace_print - Print the entries in the stack trace
38 * stack_trace_snprint - Print the entries in the stack trace into a buffer
105 * stack_trace_save - Save a stack trace into a storage array
108 * @skipnr: Number of entries to skip at the start of the stack trace
110 * Return: Number of trace entries stored.
128 * stack_trace_save_tsk - Save a task stack trace into a storage array
132 * @skipnr: Number of entries to skip at the start of the stack trace
134 * Return: Number of trace entries stored.
156 * stack_trace_save_regs - Save a stack trace based on pt_regs into a storage array
[all …]
/kernel/linux/linux-5.10/Documentation/trace/coresight/
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 …]
/kernel/linux/linux-5.10/arch/openrisc/kernel/
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 …]
/kernel/linux/linux-6.6/arch/openrisc/kernel/
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 …]
/kernel/linux/linux-6.6/Documentation/trace/coresight/
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 …]
/kernel/linux/linux-5.10/kernel/
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.
155 * stack_trace_save_regs - Save a stack trace based on pt_regs into a storage array
[all …]
/kernel/linux/linux-6.6/Documentation/trace/
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 …]
/kernel/linux/linux-5.10/Documentation/trace/
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 …]
/kernel/linux/linux-6.6/arch/sh/kernel/
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 …]
/kernel/linux/linux-5.10/arch/sh/kernel/
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 …]
/kernel/linux/linux-6.6/drivers/hwtracing/coresight/
Dcoresight-trace-id.h11 * Coresight trace ID allocation API
13 * With multi cpu systems, and more additional trace sources a scalable
14 * trace ID reservation system is required.
25 * Trace ID maps will be created and initialised to prevent architecturally
29 * different sets of cpus trace into different independent sinks.
50 * Trace ID map.
55 * @pend_rel_ids: CPU IDs that have been released by the trace source but not
64 /* Allocate and release IDs for a single default trace ID map */
67 * Read and optionally allocate a CoreSight trace ID and associate with a CPU.
69 * Function will read the current trace ID for the associated CPU,
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/ftrace/test.d/kprobe/
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 …]
/kernel/linux/linux-6.6/tools/testing/selftests/ftrace/test.d/kprobe/
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 …]
/kernel/liteos_m/components/trace/
Dlos_trace.h33 * @defgroup los_trace Trace
53 * Trace Control agent task's priority.
62 …* Trace records the max number of objects(kernel object, like tasks), range is [0, LOSCFG_BASE_COR…
63 * if set to 0, trace will not record any object.
69 …* Trace tlv encode buffer size, the buffer is used to encode one piece raw frame to tlv message in…
75 * Trace error code: init trace failed.
79 * Solution: Follow the trace State Machine.
85 * Trace error code: Insufficient memory for trace buf init.
95 * Trace error code: Insufficient memory for trace struct.
99 * Solution: Increase trace buffer's size.
[all …]

12345678910>>...182