Home
last modified time | relevance | path

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

12345678910>>...75

/linux/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 …]
/linux/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'")
54 #include "util/trace.h"
56 #include "trace/beauty/beauty.h"
57 #include "trace-event.h"
141 struct trace {
145 /** Sorted sycall numbers used by the trace
142 struct trace { global() struct
146 __anon506d57b60208trace global() argument
155 syscallstrace global() argument
157 btftrace global() argument
159 optstrace global() argument
160 evlisttrace global() argument
161 hosttrace global() argument
162 currenttrace global() argument
163 cgrouptrace global() argument
164 base_timetrace global() argument
165 outputtrace global() argument
166 nr_eventstrace global() argument
167 nr_events_printedtrace global() argument
168 max_eventstrace global() argument
169 evswitchtrace global() argument
170 ev_qualifiertrace global() argument
171 __anon506d57b60408trace global() argument
174 ev_qualifier_idstrace global() argument
198 summary_modetrace global() argument
216 trace_syscallstrace global() argument
217 libtraceevent_printtrace global() argument
229 trace_pgfaultstrace global() argument
238 uid_strtrace trace__load_vmlinux_btf() argument
1078 trace__btf_scnprintf(struct trace * trace,struct syscall_arg * arg,char * bf,size_t size,int val,char * type) trace__btf_scnprintf() argument
1584 thread_trace__new(struct trace * trace) thread_trace__new() argument
1616 thread__trace(struct thread * thread,struct trace * trace) thread__trace() argument
1740 thread__fd_path(struct thread * thread,int fd,struct trace * trace) thread__fd_path() argument
1773 pid__scnprintf_fd(struct trace * trace,pid_t pid,int fd,char * bf,size_t size) pid__scnprintf_fd() argument
1869 trace__filter_duration(struct trace * trace,double t) trace__filter_duration() argument
1874 __trace__fprintf_tstamp(struct trace * trace,u64 tstamp,FILE * fp) __trace__fprintf_tstamp() argument
1887 trace__fprintf_tstamp(struct trace * trace,u64 tstamp,FILE * fp) trace__fprintf_tstamp() argument
1911 trace__fprintf_comm_tid(struct trace * trace,struct thread * thread,FILE * fp) trace__fprintf_comm_tid() argument
1924 trace__fprintf_entry_head(struct trace * trace,struct thread * thread,u64 duration,bool duration_calculated,u64 tstamp,FILE * fp) trace__fprintf_entry_head() argument
1936 trace__process_event(struct trace * trace,struct machine * machine,union perf_event * event,struct perf_sample * sample) trace__process_event() argument
1960 struct trace *trace = container_of(tool, struct trace, tool); trace__tool_process() local
1982 trace__symbols_init(struct trace * trace,int argc,const char ** argv,struct evlist * evlist) trace__symbols_init() argument
2019 trace__symbols__exit(struct trace * trace) trace__symbols__exit() argument
2157 syscall__read_info(struct syscall * sc,struct trace * trace) syscall__read_info() argument
2260 trace__validate_ev_qualifier(struct trace * trace) trace__validate_ev_qualifier() argument
2338 trace__syscall_enabled(struct trace * trace,int id) trace__syscall_enabled() argument
2407 syscall__scnprintf_args(struct syscall * sc,char * bf,size_t size,unsigned char * args,void * augmented_args,int augmented_args_size,struct trace * trace,struct thread * thread) syscall__scnprintf_args() argument
2546 trace__find_syscall(struct trace * trace,int e_machine,int id) trace__find_syscall() argument
2586 trace__syscall_info(struct trace * trace,struct evsel * evsel,int e_machine,int id) trace__syscall_info() argument
2637 thread__update_stats(struct thread * thread,struct thread_trace * ttrace,int id,struct perf_sample * sample,long err,struct trace * trace) thread__update_stats() argument
2693 trace__printf_interrupted_entry(struct trace * trace) trace__printf_interrupted_entry() argument
2721 trace__fprintf_sample(struct trace * trace,struct evsel * evsel,struct perf_sample * sample,struct thread * thread) trace__fprintf_sample() argument
2777 trace__sys_enter(struct trace * trace,struct evsel * evsel,union perf_event * event __maybe_unused,struct perf_sample * sample) trace__sys_enter() argument
2857 trace__fprintf_sys_enter(struct trace * trace,struct evsel * evsel,struct perf_sample * sample) trace__fprintf_sys_enter() argument
2893 trace__resolve_callchain(struct trace * trace,struct evsel * evsel,struct perf_sample * sample,struct callchain_cursor * cursor) trace__resolve_callchain() argument
2913 trace__fprintf_callchain(struct trace * trace,struct perf_sample * sample) trace__fprintf_callchain() argument
2923 trace__sys_exit(struct trace * trace,struct evsel * evsel,union perf_event * event __maybe_unused,struct perf_sample * sample) trace__sys_exit() argument
3061 trace__vfs_getname(struct trace * trace,struct evsel * evsel,union perf_event * event __maybe_unused,struct perf_sample * sample) trace__vfs_getname() argument
3122 trace__sched_stat_runtime(struct trace * trace,struct evsel * evsel,union perf_event * event __maybe_unused,struct perf_sample * sample) trace__sched_stat_runtime() argument
3176 bpf_output__fprintf(struct trace * trace,struct perf_sample * sample) bpf_output__fprintf() argument
3184 trace__fprintf_tp_fields(struct trace * trace,struct evsel * evsel,struct perf_sample * sample,struct thread * thread,void * augmented_args,int augmented_args_size) trace__fprintf_tp_fields() argument
3254 trace__event_handler(struct trace * trace,struct evsel * evsel,union perf_event * event __maybe_unused,struct perf_sample * sample) trace__event_handler() argument
3362 trace__pgfault(struct trace * trace,struct evsel * evsel,union perf_event * event __maybe_unused,struct perf_sample * sample) trace__pgfault() argument
3444 trace__set_base_time(struct trace * trace,struct evsel * evsel,struct perf_sample * sample) trace__set_base_time() argument
3467 struct trace *trace = container_of(tool, struct trace, tool); trace__process_sample() local
3488 trace__record(struct trace * trace,int argc,const char ** argv) trace__record() argument
3620 trace__handle_event(struct trace * trace,union perf_event * event,struct perf_sample * sample) trace__handle_event() argument
3655 trace__add_syscall_newtp(struct trace * trace) trace__add_syscall_newtp() argument
3704 trace__set_ev_qualifier_tp_filter(struct trace * trace) trace__set_ev_qualifier_tp_filter() argument
3783 trace__init_syscall_bpf_progs(struct trace * trace,int e_machine,int id) trace__init_syscall_bpf_progs() argument
3794 trace__bpf_prog_sys_enter_fd(struct trace * trace,int e_machine,int id) trace__bpf_prog_sys_enter_fd() argument
3800 trace__bpf_prog_sys_exit_fd(struct trace * trace,int e_machine,int id) trace__bpf_prog_sys_exit_fd() argument
3806 trace__bpf_sys_enter_beauty_map(struct trace * trace,int e_machine,int key,unsigned int * beauty_array) trace__bpf_sys_enter_beauty_map() argument
3891 trace__find_usable_bpf_prog_entry(struct trace * trace,struct syscall * sc) trace__find_usable_bpf_prog_entry() argument
3993 trace__init_syscalls_bpf_prog_array_maps(struct trace * trace,int e_machine) trace__init_syscalls_bpf_prog_array_maps() argument
4108 trace__set_ev_qualifier_filter(struct trace * trace) trace__set_ev_qualifier_filter() argument
4115 trace__set_filter_loop_pids(struct trace * trace) trace__set_filter_loop_pids() argument
4149 trace__set_filter_pids(struct trace * trace) trace__set_filter_pids() argument
4172 __trace__deliver_event(struct trace * trace,union perf_event * event) __trace__deliver_event() argument
4189 __trace__flush_events(struct trace * trace) __trace__flush_events() argument
4201 trace__flush_events(struct trace * trace) trace__flush_events() argument
4206 trace__deliver_event(struct trace * trace,union perf_event * event) trace__deliver_event() argument
4227 struct trace *trace = container_of(oe, struct trace, oe.data); ordered_events__deliver_event() local
4256 trace__expand_filter(struct trace * trace,struct evsel * evsel) trace__expand_filter() argument
4357 trace__expand_filters(struct trace * trace,struct evsel ** err_evsel) trace__expand_filters() argument
4375 trace__run(struct trace * trace,int argc,const char ** argv) trace__run() argument
4689 trace__replay(struct trace * trace) trace__replay() argument
4844 syscall__dump_stats(struct trace * trace,int e_machine,FILE * fp,struct hashmap * syscall_stats) syscall__dump_stats() argument
4907 thread__dump_stats(struct thread_trace * ttrace,struct trace * trace,int e_machine,FILE * fp) thread__dump_stats() argument
4912 system__dump_stats(struct trace * trace,int e_machine,FILE * fp) system__dump_stats() argument
4917 trace__fprintf_thread(FILE * fp,struct thread * thread,struct trace * trace) trace__fprintf_thread() argument
4969 trace__fprintf_thread_summary(struct trace * trace,FILE * fp) trace__fprintf_thread_summary() argument
4986 trace__fprintf_total_summary(struct trace * trace,FILE * fp) trace__fprintf_total_summary() argument
5011 struct trace *trace = opt->value; trace__set_duration() local
5022 struct trace *trace = opt->value; trace__set_filter_pids_from_option() local
5049 trace__open_output(struct trace * trace,const char * filename) trace__open_output() argument
5174 struct trace *trace = (struct trace *)opt->value; trace__parse_events_option() local
5270 struct trace *trace = opt->value; trace__parse_cgroups() local
5286 struct trace *trace = opt->value; trace__parse_summary_mode() local
5304 struct trace *trace = arg; trace__config() local
5346 trace__exit(struct trace * trace) trace__exit() argument
5375 struct trace trace = { cmd_trace() local
[all...]
/linux/tools/testing/selftests/ftrace/test.d/event/
H A Devent-mod.tc7 rmmod trace-events-sample ||:
8 if ! modprobe trace-events-sample ; then
9 echo "No trace-events sample module - please make CONFIG_SAMPLE_TRACE_EVENTS=m"
12 trap "rmmod trace-events-sample" EXIT
15 echo ":mod:trace-events-sample" > set_event
20 grep -q sample-trace:foo_bar set_event
21 grep -q sample-trace:foo_bar_with_cond set_event
22 grep -q sample-trace:foo_bar_with_fn set_event
25 val=`cat events/sample-trace/enable`
49 val=`cat events/sample-trace/enable`
[all …]
H A Dtrace_printk.tc5 rmmod trace-printk ||:
6 if ! modprobe trace-printk ; then
7 echo "No trace-printk sample module - please make CONFIG_SAMPLE_TRACE_PRINTK=m"
14 grep -q ": This .* trace_bputs" trace
15 grep -q ": This .* trace_puts" trace
16 grep -q ": This .* trace_bprintk" trace
17 grep -q ": This .* trace_printk" trace
19 grep -q ": (irq) .* trace_bputs" trace
20 grep -q ": (irq) .* trace_puts" trace
21 grep -q ": (irq) .* trace_bprintk" trace
[all …]
/linux/tools/verification/rv/src/
H A 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 …]
/linux/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/
H A 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 …]
/linux/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 …]
/linux/kernel/
H A 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.
157 * stack_trace_save_regs - Save a stack trace based on pt_regs into a storage array
[all …]
/linux/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 …]
/linux/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 …]
/linux/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 …]
/linux/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 …]
/linux/tools/tracing/rtla/src/
H A Dtrace.c9 #include "trace.h"
50 * create_instance - create a trace instance with *instance_name
58 * destroy_instance - remove a trace instance and free the data
67 * save_trace_to_file - save the trace output of the instance to the file
71 const char *file = "trace"; in save_trace_to_file()
84 err_msg("Failed to open trace file\n"); in save_trace_to_file()
88 printf(" Saving trace to %s\n", filename); in save_trace_to_file()
100 err_msg("Error reading trace file: %s\n", strerror(errno)); in save_trace_to_file()
113 err_msg("Error writing trace file: %s\n", strerror(errno));
138 struct trace_instance *trace
122 struct trace_instance *trace = context; collect_registered_events() local
146 struct trace_instance *trace = context; collect_missed_events() local
163 trace_instance_destroy(struct trace_instance * trace) trace_instance_destroy() argument
193 trace_instance_init(struct trace_instance * trace,char * tool_name) trace_instance_init() argument
236 trace_instance_start(struct trace_instance * trace) trace_instance_start() argument
244 trace_instance_stop(struct trace_instance * trace) trace_instance_stop() argument
578 trace_set_buffer_size(struct trace_instance * trace,int size) trace_set_buffer_size() argument
[all...]
H A Dtimerlat_hist.c184 struct trace_instance *trace = data; in timerlat_hist_handler()
189 tool = container_of(trace, struct osnoise_tool, trace); in timerlat_hist_handler()
284 struct trace_seq *s = tool->trace.seq;
343 struct trace_instance *trace,
352 trace_seq_printf(trace->seq, "count:"); in timerlat_print_summary()
360 trace_seq_printf(trace->seq, "%9llu ", in timerlat_print_summary()
364 trace_seq_printf(trace->seq, "%9llu ", in timerlat_print_summary()
368 trace_seq_printf(trace->seq, "%9llu ", in timerlat_print_summary()
371 trace_seq_printf(trace in timerlat_print_summary()
185 struct trace_instance *trace = data; timerlat_hist_handler() local
349 timerlat_print_summary(struct timerlat_params * params,struct trace_instance * trace,struct timerlat_hist_data * data) timerlat_print_summary() argument
468 timerlat_print_stats_all(struct timerlat_params * params,struct trace_instance * trace,struct timerlat_hist_data * data) timerlat_print_stats_all() argument
617 struct trace_instance *trace = &tool->trace; timerlat_print_stats() local
[all...]
H A Dosnoise_hist.c133 tracefs_hist_pause(tool->trace.inst, data->trace_hist); in osnoise_destroy_trace_hist()
134 tracefs_hist_destroy(tool->trace.inst, data->trace_hist); in osnoise_destroy_trace_hist()
154 data->trace_hist = tracefs_hist_alloc(tool->trace.tep, "osnoise", "sample_threshold", in osnoise_init_trace_hist()
163 retval = tracefs_hist_start(tool->trace.inst, data->trace_hist); in osnoise_init_trace_hist()
183 tracefs_hist_pause(tool->trace.inst, data->trace_hist); in osnoise_read_trace_hist()
185 content = tracefs_event_file_read(tool->trace.inst, "osnoise", in osnoise_read_trace_hist()
229 struct trace_seq *s = tool->trace.seq; in osnoise_hist_header()
265 struct trace_instance *trace,
274 trace_seq_printf(trace->seq, "count:"); in osnoise_print_summary()
280 trace_seq_printf(trace in osnoise_print_summary()
268 osnoise_print_summary(struct osnoise_params * params,struct trace_instance * trace,struct osnoise_hist_data * data) osnoise_print_summary() argument
341 struct trace_instance *trace = &tool->trace; osnoise_print_stats() local
[all...]
H A Dcommon.c140 fatal("Error alloc trace event"); in run_tool()
224 * @tool: pointer to the osnoise_tool instance containing trace contexts in run_tool()
226 * Executes the configured threshold actions (e.g., saving trace, printing, in run_tool()
228 * restarts the auxiliary trace instances to continue monitoring. in run_tool()
242 if (tool->record && trace_instance_start(&tool->record->trace))
244 if (tool->aa && trace_instance_start(&tool->aa->trace)) in top_main_loop()
250 err_msg("Error restarting trace\n"); in top_main_loop()
276 * Save trace instance into global variable so that SIGINT can stop in top_main_loop()
280 trace_inst = &tool->trace; in top_main_loop()
315 err_msg("Failed to enable the trace instanc in hist_main_loop()
246 struct trace_instance *trace = &tool->trace; top_main_loop() local
304 struct trace_instance *trace = &tool->trace; hist_main_loop() local
[all...]
/linux/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 …]
/linux/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 …]
/linux/tools/tracing/rtla/tests/
H A Dtimerlat.t26 "timerlat top -s 3 -T 10 -t" 2 "Blocking thread stack trace"
32 check "set the automatic trace mode" \
46 check "trace output through -t" \
47 "timerlat hist -T 2 -t" 2 "^ Saving trace to timerlat_trace.txt$"
48 check "trace output through -t with custom filename" \
49 "timerlat hist -T 2 -t custom_filename.txt" 2 "^ Saving trace to custom_filename.txt$"
50 check "trace output through --on-threshold trace" \
51 "timerlat hist -T 2 --on-threshold trace" 2 "^ Saving trace t
[all...]
H A Dosnoise.t15 check "verify the --trace param" \
16 "osnoise hist -s 30 -T 1 -t" 2 "Saving trace to osnoise_trace.txt"
27 check "trace output through -t with custom filename" \
28 "osnoise hist -S 2 -t custom_filename.txt" 2 "^ Saving trace to custom_filename.txt$"
29 check "trace output through --on-threshold trace" \
30 "osnoise hist -S 2 --on-threshold trace" 2 "^ Saving trace to osnoise_trace.txt$"
31 check "trace output through --on-threshold trace with custom filename" \
32 …"osnoise hist -S 2 --on-threshold trace,file=custom_filename.txt" 2 "^ Saving trace to custom_fil…
45 check "hist with trace output at end" \
46 "osnoise hist -d 1s --on-end trace" 0 "^ Saving trace to osnoise_trace.txt$"
[all …]
/linux/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 …]
/linux/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 …]
/linux/net/core/
H A Dnet-traces.c3 * consolidates trace point definitions
30 #include <trace/events/skb.h>
31 #include <trace/events/net.h>
32 #include <trace/events/napi.h>
33 #include <trace/events/sock.h>
34 #include <trace/events/udp.h>
35 #include <trace/events/tcp.h>
36 #include <trace/events/fib.h>
37 #include <trace/events/qdisc.h>
39 #include <trace/events/bridge.h>
[all …]
/linux/kernel/trace/
H A Dtrace_selftest.c2 /* Include in trace.c */
56 printk(KERN_CONT ".. corrupted trace buffer .. "); in trace_test_buffer_cpu()
61 * Test the trace buffer to see if all the elements
98 static inline void warn_failed_init_tracer(struct tracer *trace, int init_ret) in warn_failed_init_tracer() argument
101 trace->name, init_ret); in warn_failed_init_tracer()
206 * Probe 1 will trace function 1. in trace_selftest_ops()
207 * Probe 2 will trace function 2. in trace_selftest_ops()
208 * Probe 3 will trace functions 1 and 2. in trace_selftest_ops()
291 /* Remove trace function from probe 3 */ in trace_selftest_ops()
357 static int trace_selftest_startup_dynamic_tracing(struct tracer *trace, in trace_selftest_startup_dynamic_tracing() argument
[all …]

12345678910>>...75