Searched refs:trace (Results 26 - 50 of 1271) sorted by relevance

1234567891011>>

/linux-master/arch/sparc/kernel/
H A Dstacktrace.c14 struct stack_trace *trace,
55 if (trace->skip > 0)
56 trace->skip--;
58 trace->entries[trace->nr_entries++] = pc;
66 if (trace->nr_entries <
67 trace->max_entries)
68 trace->entries[trace->nr_entries++] = pc;
74 } while (trace
13 __save_stack_trace(struct thread_info *tp, struct stack_trace *trace, bool skip_sched) argument
77 save_stack_trace(struct stack_trace *trace) argument
79 __save_stack_trace(current_thread_info(), trace, false); local
83 save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) argument
[all...]
/linux-master/arch/um/kernel/
H A Dstacktrace.c46 struct stack_trace *trace = data; local
50 if (trace->nr_entries >= trace->max_entries)
53 trace->entries[trace->nr_entries++] = address;
60 static void __save_stack_trace(struct task_struct *tsk, struct stack_trace *trace) argument
62 dump_trace(tsk, &dump_ops, trace);
65 void save_stack_trace(struct stack_trace *trace) argument
67 __save_stack_trace(current, trace);
71 void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) argument
[all...]
/linux-master/arch/hexagon/kernel/
H A Dstacktrace.c22 void save_stack_trace(struct stack_trace *trace) argument
27 int skip = trace->skip;
39 trace->entries[trace->nr_entries++] = frame->rets;
40 if (trace->nr_entries >= trace->max_entries)
/linux-master/tools/testing/selftests/ftrace/test.d/kprobe/
H A Dkprobe_module.tc6 rmmod trace-printk ||:
7 if ! modprobe trace-printk ; then
8 echo "No trace-printk sample module - please make CONFIG_SAMPLE_TRACE_PRINTK=
33 if ! rmmod trace-printk ; then
46 modprobe trace-printk
47 grep "event1:" trace
50 rmmod trace-printk
H A Dkprobe_args_vfs.tc11 grep "dput" trace | grep -q "enable"
13 echo "" > trace
20 grep "dput" trace | grep -q "enable"
22 echo "" > trace
29 grep "vfs_read" trace | grep -q "enable"
31 echo "" > trace
38 grep "vfs_read" trace | grep -q "enable"
40 echo "" > trace
/linux-master/drivers/net/wwan/iosm/
H A Diosm_ipc_debugfs.c20 ipc_imem->trace = ipc_trace_init(ipc_imem);
21 if (!ipc_imem->trace)
22 dev_warn(ipc_imem->dev, "trace channel init failed");
27 ipc_trace_deinit(ipc_imem->trace);
/linux-master/scripts/
H A DMakefile.kcov2 kcov-flags-$(CONFIG_CC_HAS_SANCOV_TRACE_PC) += -fsanitize-coverage=trace-pc
3 kcov-flags-$(CONFIG_KCOV_ENABLE_COMPARISONS) += -fsanitize-coverage=trace-cmp
/linux-master/drivers/net/thunderbolt/
H A DMakefile3 thunderbolt_net-objs := main.o trace.o
5 # Tracepoints need to know where to find trace.h
/linux-master/kernel/trace/
H A Dtrace_preemptirq.c13 #include "trace.h"
16 #include <trace/events/preemptirq.h>
19 * Use regular trace points on architectures that implement noinstr
27 #define trace(point) trace_##point macro
29 #define trace(point) if (!in_nmi()) trace_##point##_rcuidle macro
45 trace(irq_enable)(CALLER_ADDR0, CALLER_ADDR1);
56 trace(irq_enable)(CALLER_ADDR0, CALLER_ADDR1);
78 trace(irq_disable)(CALLER_ADDR0, CALLER_ADDR1);
92 trace(irq_disable)(CALLER_ADDR0, CALLER_ADDR1);
103 trace(preempt_enabl
[all...]
/linux-master/tools/perf/trace/beauty/
H A Dpid.c6 struct trace *trace = arg->trace; local
8 struct thread *thread = machine__findnew_thread(trace->host, pid, pid);
/linux-master/tools/perf/tests/shell/lib/
H A Dprobe.sh11 perf trace -h 2>&1 | grep -q -e 'is not a perf-command' -e 'trace command not available' && return 2
/linux-master/tools/testing/selftests/ftrace/test.d/dynevent/
H A Dfprobe_args_vfs.tc12 grep "dput" trace | grep -q "enable"
14 echo "" > trace
21 grep "dput" trace | grep -q "enable"
23 echo "" > trace
30 grep "vfs_read" trace | grep -q "enable"
32 echo "" > trace
39 grep "vfs_read" trace | grep -q "enable"
41 echo "" > trace
/linux-master/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'")
57 #include "trace/beauty/beauty.h"
58 #include "trace-event.h"
129 struct trace { struct
294 * The evsel->priv as used by 'perf trace'
730 #include "trace/beaut
1450 thread__fd_path(struct thread *thread, int fd, struct trace *trace) argument
1484 pid__scnprintf_fd(struct trace *trace, pid_t pid, int fd, char *bf, size_t size) argument
1554 trace__filter_duration(struct trace *trace, double t) argument
1559 __trace__fprintf_tstamp(struct trace *trace, u64 tstamp, FILE *fp) argument
1572 trace__fprintf_tstamp(struct trace *trace, u64 tstamp, FILE *fp) argument
1596 trace__fprintf_comm_tid(struct trace *trace, struct thread *thread, FILE *fp) argument
1609 trace__fprintf_entry_head(struct trace *trace, struct thread *thread, u64 duration, bool duration_calculated, u64 tstamp, FILE *fp) argument
1621 trace__process_event(struct trace *trace, struct machine *machine, union perf_event *event, struct perf_sample *sample) argument
1645 struct trace *trace = container_of(tool, struct trace, tool); local
1667 trace__symbols_init(struct trace *trace, struct evlist *evlist) argument
1694 trace__symbols__exit(struct trace *trace) argument
1809 trace__read_syscall_info(struct trace *trace, int id) argument
1908 trace__validate_ev_qualifier(struct trace *trace) argument
1982 trace__syscall_enabled(struct trace *trace, int id) argument
2049 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) argument
2142 trace__syscall_info(struct trace *trace, struct evsel *evsel, int id) argument
2264 trace__printf_interrupted_entry(struct trace *trace) argument
2292 trace__fprintf_sample(struct trace *trace, struct evsel *evsel, struct perf_sample *sample, struct thread *thread) argument
2343 trace__sys_enter(struct trace *trace, struct evsel *evsel, union perf_event *event __maybe_unused, struct perf_sample *sample) argument
2422 trace__fprintf_sys_enter(struct trace *trace, struct evsel *evsel, struct perf_sample *sample) argument
2455 trace__resolve_callchain(struct trace *trace, struct evsel *evsel, struct perf_sample *sample, struct callchain_cursor *cursor) argument
2475 trace__fprintf_callchain(struct trace *trace, struct perf_sample *sample) argument
2492 trace__sys_exit(struct trace *trace, struct evsel *evsel, union perf_event *event __maybe_unused, struct perf_sample *sample) argument
2628 trace__vfs_getname(struct trace *trace, struct evsel *evsel, union perf_event *event __maybe_unused, struct perf_sample *sample) argument
2689 trace__sched_stat_runtime(struct trace *trace, struct evsel *evsel, union perf_event *event __maybe_unused, struct perf_sample *sample) argument
2743 bpf_output__fprintf(struct trace *trace, struct perf_sample *sample) argument
2751 trace__fprintf_tp_fields(struct trace *trace, struct evsel *evsel, struct perf_sample *sample, struct thread *thread, void *augmented_args, int augmented_args_size) argument
2823 trace__event_handler(struct trace *trace, struct evsel *evsel, union perf_event *event __maybe_unused, struct perf_sample *sample) argument
2931 trace__pgfault(struct trace *trace, struct evsel *evsel, union perf_event *event __maybe_unused, struct perf_sample *sample) argument
3010 trace__set_base_time(struct trace *trace, struct evsel *evsel, struct perf_sample *sample) argument
3033 struct trace *trace = container_of(tool, struct trace, tool); local
3054 trace__record(struct trace *trace, int argc, const char **argv) argument
3185 trace__handle_event(struct trace *trace, union perf_event *event, struct perf_sample *sample) argument
3220 trace__add_syscall_newtp(struct trace *trace) argument
3269 trace__set_ev_qualifier_tp_filter(struct trace *trace) argument
3294 trace__find_bpf_program_by_title(struct trace *trace, const char *name) argument
3313 trace__find_syscall_bpf_prog(struct trace *trace, struct syscall *sc, const char *prog_name, const char *type) argument
3346 trace__init_syscall_bpf_progs(struct trace *trace, int id) argument
3357 trace__bpf_prog_sys_enter_fd(struct trace *trace, int id) argument
3363 trace__bpf_prog_sys_exit_fd(struct trace *trace, int id) argument
3369 trace__find_usable_bpf_prog_entry(struct trace *trace, struct syscall *sc) argument
3470 trace__init_syscalls_bpf_prog_array_maps(struct trace *trace) argument
3562 trace__set_ev_qualifier_filter(struct trace *trace) argument
3587 trace__set_filter_loop_pids(struct trace *trace) argument
3618 trace__set_filter_pids(struct trace *trace) argument
3641 __trace__deliver_event(struct trace *trace, union perf_event *event) argument
3655 __trace__flush_events(struct trace *trace) argument
3667 trace__flush_events(struct trace *trace) argument
3672 trace__deliver_event(struct trace *trace, union perf_event *event) argument
3693 struct trace *trace = container_of(oe, struct trace, oe.data); local
3811 trace__expand_filters(struct trace *trace, struct evsel **err_evsel) argument
3829 trace__run(struct trace *trace, int argc, const char **argv) argument
4125 trace__replay(struct trace *trace) argument
4245 thread__dump_stats(struct thread_trace *ttrace, struct trace *trace, FILE *fp) argument
4297 trace__fprintf_thread(FILE *fp, struct thread *thread, struct trace *trace) argument
4348 trace__fprintf_thread_summary(struct trace *trace, FILE *fp) argument
4368 struct trace *trace = opt->value; local
4379 struct trace *trace = opt->value; local
4406 trace__open_output(struct trace *trace, const char *filename) argument
4516 struct trace *trace = (struct trace *)opt->value; local
4608 struct trace *trace = opt->value; local
4623 struct trace *trace = arg; local
4665 trace__exit(struct trace *trace) argument
4701 struct trace trace = { local
[all...]
/linux-master/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/event
[all...]
/linux-master/tools/testing/selftests/ftrace/test.d/00basic/
H A Dbasic1.tc2 # description: Basic trace file check
3 test -f README -a -f trace -a -f tracing_on -a -f trace_pipe
H A Dsnapshot1.tc30 grep -q "test input 1" trace
/linux-master/tools/testing/selftests/ftrace/test.d/ftrace/
H A Dfunc-filter-stacktrace.tc13 grep -q "<stack trace>" trace
/linux-master/drivers/gpu/
H A DMakefile7 obj-$(CONFIG_TRACE_GPU_MEM) += trace/
/linux-master/tools/testing/selftests/bpf/benchs/
H A Drun_bench_local_storage_rcu_tasks_trace.sh11 ./bench --nr_procs 15000 --kthread_pid $kthread_pid -d 600 --quiet local-storage-tasks-trace
/linux-master/drivers/usb/gadget/udc/cdns2/
H A DMakefile3 CFLAGS_cdns2-trace.o := -I$(src)
7 cdns2-udc-pci-$(CONFIG_TRACING) += cdns2-trace.o
/linux-master/tools/testing/selftests/bpf/progs/
H A Dperf_event_stackmap.c33 stack_trace_t *trace; local
44 trace = bpf_map_lookup_elem(&stackdata_map, &key);
45 if (!trace)
48 val = bpf_get_stack(ctx, trace, sizeof(stack_trace_t), 0);
52 val = bpf_get_stack(ctx, trace, sizeof(stack_trace_t), BPF_F_USER_STACK);
/linux-master/tools/testing/selftests/ftrace/test.d/filter/
H A Devent-filter-function.tc24 echo > trace
27 target_func=`cat trace | grep -o 'call_site=\([^+]*\)' | sed 's/call_site=//' | sort | uniq -c | sort | tail -n 1 | sed 's/^[ 0-9]*//'`
31 echo > trace
38 while [ `grep kmem_cache_free trace| wc -l` -eq 0 ]; do
46 hitcnt=`grep kmem_cache_free trace| grep $target_func | wc -l`
47 misscnt=`grep kmem_cache_free trace| grep -v $target_func | wc -l`
61 echo > trace
64 while [ `grep kmem_cache_free trace| wc -l` -eq 0 ]; do
72 hitcnt=`grep kmem_cache_free trace| grep $target_func | wc -l`
73 misscnt=`grep kmem_cache_free trace| gre
[all...]
/linux-master/tools/testing/selftests/ftrace/test.d/direct/
H A Dkprobe-direct.tc15 grep -q "my_direct_func: waking up" trace
22 echo > trace
25 grep -q "my_direct_func: waking up" trace
33 echo > trace
36 grep -q "kwake:" trace
/linux-master/arch/arc/kernel/
H A Dstacktrace.c15 * = specifics of data structs where trace is saved(CONFIG_STACKTRACE etc)
188 struct stack_trace *trace = arg; local
190 if (trace->skip > 0)
191 trace->skip--;
193 trace->entries[trace->nr_entries++] = address;
195 if (trace->nr_entries >= trace->max_entries)
203 struct stack_trace *trace = arg; local
208 if (trace
263 save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) argument
269 save_stack_trace(struct stack_trace *trace) argument
[all...]
/linux-master/tools/tracing/rtla/src/
H A Dtrace.h22 int trace_instance_init(struct trace_instance *trace, char *tool_name);
23 int trace_instance_start(struct trace_instance *trace);
24 void trace_instance_destroy(struct trace_instance *trace);
30 int enable_osnoise(struct trace_instance *trace);
31 int enable_timerlat(struct trace_instance *trace);
50 int trace_is_off(struct trace_instance *tool, struct trace_instance *trace);
51 int trace_set_buffer_size(struct trace_instance *trace, int size);

Completed in 185 milliseconds

1234567891011>>