Home
last modified time | relevance | path

Searched refs:trace (Results 1 – 25 of 2282) sorted by relevance

12345678910>>...92

/external/perfetto/test/trace_processor/
Dandroid_sched_and_ps_stats.out2 "ftrace_cpu_bytes_read_begin",0,"info","trace",232
3 "ftrace_cpu_bytes_read_begin",1,"info","trace",232
4 "ftrace_cpu_bytes_read_begin",2,"info","trace",1548
5 "ftrace_cpu_bytes_read_begin",3,"info","trace",176
6 "ftrace_cpu_bytes_read_begin",4,"info","trace",0
7 "ftrace_cpu_bytes_read_begin",5,"info","trace",0
8 "ftrace_cpu_bytes_read_begin",6,"info","trace",0
9 "ftrace_cpu_bytes_read_begin",7,"info","trace",0
10 "ftrace_cpu_bytes_read_end",0,"info","trace",20468
11 "ftrace_cpu_bytes_read_end",1,"info","trace",11612
[all …]
Dsynth_oom.py24 trace = synth_common.create_trace() variable
25 trace.add_process_tree_packet()
26 trace.add_process(1, 0, "init")
27 trace.add_process(2, 1, "process_a")
28 trace.add_process(3, 1, "process_b")
30 trace.add_ftrace_packet(0)
31 trace.add_rss_stat(100, 2, file_member, 100)
32 trace.add_rss_stat(100, 2, anon_member, 200)
33 trace.add_oom_score_update(100, 1000, 2)
34 trace.add_rss_stat(105, 2, file_member, 50)
[all …]
Dsynth_process_tracking.py27 trace = synth_common.create_trace() variable
34 trace.add_ftrace_packet(0)
35 trace.add_sched(ts=1, prev_pid=0, next_pid=10, next_comm='p1-t0')
36 trace.add_sched(ts=2, prev_pid=10, next_pid=11,
38 trace.add_sched(ts=3, prev_pid=11, next_pid=12,
40 trace.add_sched(ts=4, prev_pid=12, next_pid=0, prev_comm='p1-t2')
45 trace.add_process_tree_packet(ts=5)
46 trace.add_process(10, 0, "process1")
47 trace.add_thread(12, 10, "p1-t2")
52 trace.add_ftrace_packet(0)
[all …]
Dsynth_1.py21 trace = synth_common.create_trace() variable
22 trace.add_process_tree_packet()
23 trace.add_process(1, 0, "init")
24 trace.add_process(2, 1, "two_thread_process")
25 trace.add_process(4, 1, "single_thread_process")
26 trace.add_thread(3, 2, "two_thread_process")
28 trace.add_ftrace_packet(cpu=0)
29 trace.add_sched(ts=1, prev_pid=1, next_pid=3)
30 trace.add_cpufreq(ts=50, freq=50, cpu=0)
31 trace.add_sched(ts=100, prev_pid=3, next_pid=2)
[all …]
Dkernel_lmk.py21 trace = synth_common.create_trace() variable
22 trace.add_process_tree_packet()
23 trace.add_process(pid=1, ppid=0, cmdline="init")
24 trace.add_process(pid=2, ppid=1, cmdline="two_thread_process")
25 trace.add_process(pid=4, ppid=1, cmdline="single_thread_process")
27 trace.add_process(pid=1000, ppid=1, cmdline="padding_process")
28 trace.add_thread(tid=1301, tgid=1000, cmdline="padding_process_thread_1")
29 trace.add_thread(tid=1302, tgid=1000, cmdline="padding_process_thread_2")
31 trace.add_thread(tid=300, tgid=2, cmdline="two_thread_process")
33 trace.add_ftrace_packet(0)
[all …]
Dsyscall.py21 trace = synth_common.create_trace() variable
22 trace.add_system_info(arch='aarch64')
24 trace.add_process_tree_packet()
25 trace.add_process(pid=1, ppid=0, cmdline="init")
26 trace.add_process(pid=2, ppid=1, cmdline="two_thread_process")
27 trace.add_process(pid=4, ppid=1, cmdline="single_thread_process")
28 trace.add_thread(tid=3, tgid=2, cmdline="two_thread_process")
31 trace.add_ftrace_packet(cpu=0)
32 trace.add_sys_enter(ts=100, tid=1, id=0)
33 trace.add_sys_enter(ts=105, tid=2, id=1)
[all …]
Dcounters_order_ref.py21 trace = synth_common.create_trace() variable
22 trace.add_process_tree_packet()
23 trace.add_process(pid=1, ppid=0, cmdline="init")
24 trace.add_process(pid=2, ppid=1, cmdline="two_thread_process")
25 trace.add_process(pid=4, ppid=1, cmdline="single_thread_process")
26 trace.add_thread(tid=3, tgid=2, cmdline="two_thread_process")
28 trace.add_ftrace_packet(cpu=0)
29 trace.add_rss_stat(ts=1000, tid=4, member=0, size=200)
30 trace.add_rss_stat(ts=1005, tid=3, member=0, size=200)
31 trace.add_rss_stat(ts=1010, tid=5, member=0, size=100)
[all …]
/external/python/cpython3/Lib/test/
Dtest_yield_from.py24 trace = []
26 trace.append("Starting g1")
28 trace.append("Finishing g1")
30 trace.append("Starting g2")
32 trace.append("Finishing g2")
34 trace.append("Yielded %s" % (x,))
35 self.assertEqual(trace,[
47 trace = []
50 trace.append("Starting g1")
53 trace.append("Finishing g1")
[all …]
/external/compiler-rt/lib/tsan/tests/unit/
Dtsan_stack_test.cc21 static void TestStackTrace(StackTraceTy *trace) { in TestStackTrace() argument
28 ObtainCurrentStack(&thr, 0, trace); in TestStackTrace()
29 EXPECT_EQ(0U, trace->size); in TestStackTrace()
31 ObtainCurrentStack(&thr, 42, trace); in TestStackTrace()
32 EXPECT_EQ(1U, trace->size); in TestStackTrace()
33 EXPECT_EQ(42U, trace->trace[0]); in TestStackTrace()
37 ObtainCurrentStack(&thr, 0, trace); in TestStackTrace()
38 EXPECT_EQ(2U, trace->size); in TestStackTrace()
39 EXPECT_EQ(100U, trace->trace[0]); in TestStackTrace()
40 EXPECT_EQ(101U, trace->trace[1]); in TestStackTrace()
[all …]
/external/blktrace/iowatcher/
Dfio.c38 static int past_eof(struct trace *trace, char *cur) in past_eof() argument
40 if (cur >= trace->fio_start + trace->fio_len) in past_eof()
45 static int parse_fio_line(struct trace *trace, int *time, int *rate, int *dir, int *bs) in parse_fio_line() argument
47 char *cur = trace->fio_cur; in parse_fio_line()
77 int next_fio_line(struct trace *trace) in next_fio_line() argument
80 char *cur = trace->fio_cur; in next_fio_line()
86 if (past_eof(trace, next)) in next_fio_line()
88 trace->fio_cur = next; in next_fio_line()
92 char *first_fio(struct trace *trace) in first_fio() argument
94 trace->fio_cur = trace->fio_start; in first_fio()
[all …]
Dmpstat.c47 static int past_eof(struct trace *trace, char *cur) in past_eof() argument
49 if (cur >= trace->mpstat_start + trace->mpstat_len) in past_eof()
54 int next_mpstat_line(struct trace *trace) in next_mpstat_line() argument
57 char *cur = trace->mpstat_cur; in next_mpstat_line()
63 if (past_eof(trace, next)) in next_mpstat_line()
65 trace->mpstat_cur = next; in next_mpstat_line()
69 char *next_mpstat(struct trace *trace) in next_mpstat() argument
73 cur = strstr(trace->mpstat_cur, record_header); in next_mpstat()
77 cur = strstr(trace->mpstat_cur, record_header_v2); in next_mpstat()
84 if (past_eof(trace, cur)) in next_mpstat()
[all …]
Dblkparse.c181 u64 get_record_time(struct trace *trace) in get_record_time() argument
183 return trace->io->time; in get_record_time()
361 static void handle_notify(struct trace *trace) in handle_notify() argument
363 struct blk_io_trace *io = trace->io; in handle_notify()
380 trace->start_timestamp = io->time; in handle_notify()
381 trace->abs_start_time.tv_sec = two32[0]; in handle_notify()
382 trace->abs_start_time.tv_nsec = two32[1]; in handle_notify()
383 if (trace->abs_start_time.tv_nsec < 0) { in handle_notify()
384 trace->abs_start_time.tv_sec--; in handle_notify()
385 trace->abs_start_time.tv_nsec += 1000000000; in handle_notify()
[all …]
Dblkparse.h37 struct trace { struct
74 struct trace *trace; argument
120 struct trace *open_trace(char *filename);
121 u64 find_last_time(struct trace *trace);
122 void find_extreme_offsets(struct trace *trace, u64 *min_ret, u64 *max_ret,
124 int filter_outliers(struct trace *trace, u64 min_offset, u64 max_offset,
127 void add_iop(struct trace *trace, struct graph_line_data *gld);
128 void check_record(struct trace *trace);
129 void add_completed_io(struct trace *trace,
131 void add_io(struct trace *trace, struct trace_file *tf);
[all …]
/external/perfetto/protos/
DBUILD241 # GN target: //protos/perfetto/trace:lite_gen
243 name = "trace",
245 "perfetto/trace/test_event.proto",
246 "perfetto/trace/trace.proto",
247 "perfetto/trace/trace_packet.proto",
272 # GN target: //protos/perfetto/trace/android:lite_gen
276 "perfetto/trace/android/android_log.proto",
277 "perfetto/trace/android/packages_list.proto",
290 # GN target: //protos/perfetto/trace/android:lite_gen
301 # GN target: //protos/perfetto/trace/android:zero_gen
[all …]
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_stacktrace_test.cc27 trace.Unwind(max_depth, start_pc, (uptr)&fake_stack[0], 0, fake_top, in TryFastUnwind()
38 BufferedStackTrace trace; member in __sanitizer::FastUnwindTest
78 EXPECT_EQ(6U, trace.size); in TEST_F()
79 EXPECT_EQ(start_pc, trace.trace[0]); in TEST_F()
81 EXPECT_EQ(PC(i*2 - 1), trace.trace[i]); in TEST_F()
92 EXPECT_EQ(4U, trace.size); in TEST_F()
93 EXPECT_EQ(start_pc, trace.trace[0]); in TEST_F()
95 EXPECT_EQ(PC(i*2 - 1), trace.trace[i]); in TEST_F()
105 EXPECT_EQ(4U, trace.size); in TEST_F()
106 EXPECT_EQ(start_pc, trace.trace[0]); in TEST_F()
[all …]
/external/strace/tests/
Dgen_tests.in29 _newselect-P -e trace=_newselect -P /dev/full 9>>/dev/full
36 aio -a14 -e trace=io_setup,io_submit,io_getevents,io_cancel,io_destroy
37 aio_pgetevents -e trace=io_pgetevents
40 bpf-v -a20 -v -e trace=bpf
41 bpf-obj_get_info_by_fd -a20 -y -e trace=bpf
42 bpf-obj_get_info_by_fd-v -a20 -y -v -e trace=bpf
43 bpf-obj_get_info_by_fd-prog -a20 -y -e trace=bpf
44 bpf-obj_get_info_by_fd-prog-v -a20 -y -v -e trace=bpf
52 clock_nanosleep -e trace=clock_nanosleep,clock_gettime
53 clock_xettime -a36 -e trace=clock_getres,clock_gettime,clock_settime
[all …]
/external/strace/tests-m32/
Dgen_tests.in29 _newselect-P -e trace=_newselect -P /dev/full 9>>/dev/full
36 aio -a14 -e trace=io_setup,io_submit,io_getevents,io_cancel,io_destroy
37 aio_pgetevents -e trace=io_pgetevents
40 bpf-v -a20 -v -e trace=bpf
41 bpf-obj_get_info_by_fd -a20 -y -e trace=bpf
42 bpf-obj_get_info_by_fd-v -a20 -y -v -e trace=bpf
43 bpf-obj_get_info_by_fd-prog -a20 -y -e trace=bpf
44 bpf-obj_get_info_by_fd-prog-v -a20 -y -v -e trace=bpf
52 clock_nanosleep -e trace=clock_nanosleep,clock_gettime
53 clock_xettime -a36 -e trace=clock_getres,clock_gettime,clock_settime
[all …]
/external/strace/tests-mx32/
Dgen_tests.in29 _newselect-P -e trace=_newselect -P /dev/full 9>>/dev/full
36 aio -a14 -e trace=io_setup,io_submit,io_getevents,io_cancel,io_destroy
37 aio_pgetevents -e trace=io_pgetevents
40 bpf-v -a20 -v -e trace=bpf
41 bpf-obj_get_info_by_fd -a20 -y -e trace=bpf
42 bpf-obj_get_info_by_fd-v -a20 -y -v -e trace=bpf
43 bpf-obj_get_info_by_fd-prog -a20 -y -e trace=bpf
44 bpf-obj_get_info_by_fd-prog-v -a20 -y -v -e trace=bpf
52 clock_nanosleep -e trace=clock_nanosleep,clock_gettime
53 clock_xettime -a36 -e trace=clock_getres,clock_gettime,clock_settime
[all …]
/external/syzkaller/vendor/golang.org/x/net/http2/
Dgo17.go52 trace := httptrace.ContextClientTrace(req.Context())
53 if trace == nil || trace.GotConn == nil {
65 trace.GotConn(ci)
68 func traceWroteHeaders(trace *clientTrace) {
69 if trace != nil && trace.WroteHeaders != nil {
70 trace.WroteHeaders()
74 func traceGot100Continue(trace *clientTrace) {
75 if trace != nil && trace.Got100Continue != nil {
76 trace.Got100Continue()
80 func traceWait100Continue(trace *clientTrace) {
[all …]
/external/opencensus-java/api/src/main/java/io/opencensus/trace/internal/
DBaseMessageEventUtils.java17 package io.opencensus.trace.internal;
39 public static io.opencensus.trace.MessageEvent asMessageEvent( in asMessageEvent()
40 io.opencensus.trace.BaseMessageEvent event) { in asMessageEvent()
42 if (event instanceof io.opencensus.trace.MessageEvent) { in asMessageEvent()
43 return (io.opencensus.trace.MessageEvent) event; in asMessageEvent()
45 io.opencensus.trace.NetworkEvent networkEvent = (io.opencensus.trace.NetworkEvent) event; in asMessageEvent()
46 io.opencensus.trace.MessageEvent.Type type = in asMessageEvent()
47 (networkEvent.getType() == io.opencensus.trace.NetworkEvent.Type.RECV) in asMessageEvent()
48 ? io.opencensus.trace.MessageEvent.Type.RECEIVED in asMessageEvent()
49 : io.opencensus.trace.MessageEvent.Type.SENT; in asMessageEvent()
[all …]
/external/linux-kselftest/tools/testing/selftests/ftrace/test.d/kprobe/
Dkprobe_ftrace.tc15 echo > trace
17 grep testprobe trace
18 ! grep '_do_fork <-' trace
22 echo > trace
24 grep testprobe trace
25 grep '_do_fork <-' trace
29 echo > trace
31 ! grep testprobe trace
32 grep '_do_fork <-' trace
37 echo > trace
[all …]
/external/opencensus-java/contrib/grpc_util/src/main/java/io/opencensus/contrib/grpc/util/
DStatusConverter.java33 public static io.opencensus.trace.Status.CanonicalCode fromGrpcCode( in fromGrpcCode()
45 public static io.opencensus.trace.Status fromGrpcStatus(io.grpc.Status grpcStatus) { in fromGrpcStatus()
46 io.opencensus.trace.Status status = opencensusStatusFromGrpcCode(grpcStatus.getCode()); in fromGrpcStatus()
62 io.opencensus.trace.Status.CanonicalCode opencensusCanonicalCode) { in toGrpcCode()
73 public static io.grpc.Status toGrpcStatus(io.opencensus.trace.Status opencensusStatus) { in toGrpcStatus()
82 private static io.opencensus.trace.Status opencensusStatusFromGrpcCode( in opencensusStatusFromGrpcCode()
86 return io.opencensus.trace.Status.OK; in opencensusStatusFromGrpcCode()
88 return io.opencensus.trace.Status.CANCELLED; in opencensusStatusFromGrpcCode()
90 return io.opencensus.trace.Status.UNKNOWN; in opencensusStatusFromGrpcCode()
92 return io.opencensus.trace.Status.INVALID_ARGUMENT; in opencensusStatusFromGrpcCode()
[all …]
/external/opencensus-java/exporters/trace/ocagent/src/main/java/io/opencensus/exporter/trace/ocagent/
DTraceProtoUtils.java17 package io.opencensus.exporter.trace.ocagent;
26 import io.opencensus.proto.agent.trace.v1.UpdatedLibraryConfig;
27 import io.opencensus.proto.trace.v1.AttributeValue;
28 import io.opencensus.proto.trace.v1.ConstantSampler;
29 import io.opencensus.proto.trace.v1.ProbabilitySampler;
30 import io.opencensus.proto.trace.v1.Span;
31 import io.opencensus.proto.trace.v1.Span.Attributes;
32 import io.opencensus.proto.trace.v1.Span.Link;
33 import io.opencensus.proto.trace.v1.Span.Links;
34 import io.opencensus.proto.trace.v1.Span.SpanKind;
[all …]
/external/perfetto/
DAndroid.bp1156 // GN target: //protos/perfetto/trace/android:lite_gen
1160 "protos/perfetto/trace/android/android_log.proto",
1161 "protos/perfetto/trace/android/packages_list.proto",
1168 "external/perfetto/protos/perfetto/trace/android/android_log.pb.cc",
1169 "external/perfetto/protos/perfetto/trace/android/packages_list.pb.cc",
1173 // GN target: //protos/perfetto/trace/android:lite_gen
1177 "protos/perfetto/trace/android/android_log.proto",
1178 "protos/perfetto/trace/android/packages_list.proto",
1185 "external/perfetto/protos/perfetto/trace/android/android_log.pb.h",
1186 "external/perfetto/protos/perfetto/trace/android/packages_list.pb.h",
[all …]
/external/v8/tools/
Dgc-nvp-trace-processor.py143 def generate_datafile(datafile_name, trace, fields): argument
145 for line in trace:
150 def generate_script_and_datafile(plot, trace, datafile, output): argument
152 generate_datafile(datafile, trace, fields)
173 def plot_all(plots, trace, prefix): argument
179 script = generate_script_and_datafile(plot, trace, '~datafile', outfilename)
263 def freduce(f, field, trace, init): argument
264 return reduce(lambda t,r: f(t, r[field]), trace, init)
266 def calc_total(trace, field): argument
267 return freduce(lambda t,v: t + long(v), field, trace, long(0))
[all …]

12345678910>>...92