Home
last modified time | relevance | path

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

12345678910>>...19

/openbsd-src/gnu/llvm/compiler-rt/lib/tsan/tests/unit/
H A Dtsan_stack_test.cpp20 static void TestStackTrace(StackTraceTy *trace) { in TestStackTrace() argument
23 ObtainCurrentStack(&thr, 0, trace); in TestStackTrace()
24 EXPECT_EQ(0U, trace->size); in TestStackTrace()
26 ObtainCurrentStack(&thr, 42, trace); in TestStackTrace()
27 EXPECT_EQ(1U, trace->size); in TestStackTrace()
28 EXPECT_EQ(42U, trace->trace[0]); in TestStackTrace()
32 ObtainCurrentStack(&thr, 0, trace); in TestStackTrace()
33 EXPECT_EQ(2U, trace->size); in TestStackTrace()
34 EXPECT_EQ(100U, trace->trace[0]); in TestStackTrace()
35 EXPECT_EQ(101U, trace->trace[1]); in TestStackTrace()
[all …]
/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_stacktrace_test.cpp45 BufferedStackTrace trace; member in __sanitizer::FastUnwindTest
108 trace.UnwindFast(start_pc, fake_bp, fake_top, fake_bottom, kStackTraceMax); in UnwindFast()
114 EXPECT_EQ(6U, trace.size); in TEST_F()
115 EXPECT_EQ(start_pc, trace.trace[0]); in TEST_F()
117 EXPECT_EQ(PC(i*2 - 1), trace.trace[i]); in TEST_F()
127 EXPECT_EQ(4U, trace.size); in TEST_F()
128 EXPECT_EQ(start_pc, trace.trace[0]); in TEST_F()
130 EXPECT_EQ(PC(i*2 - 1), trace.trace[i]); in TEST_F()
139 EXPECT_EQ(4U, trace.size); in TEST_F()
140 EXPECT_EQ(start_pc, trace.trace[0]); in TEST_F()
[all …]
H A Dsanitizer_stack_store_test.cpp89 StackTrace trace = store_.Load(*(id++)); in TEST_F() local
90 EXPECT_EQ(s.size, trace.size); in TEST_F()
91 EXPECT_EQ(s.tag, trace.tag); in TEST_F()
92 EXPECT_EQ(std::vector<uptr>(s.trace, s.trace + s.size), in TEST_F()
93 std::vector<uptr>(trace.trace, trace.trace + trace.size)); in TEST_F()
169 StackTrace trace = store_.Load(*(id++)); in TEST_P() local
170 EXPECT_EQ(s.size, trace.size); in TEST_P()
171 EXPECT_EQ(s.tag, trace.tag); in TEST_P()
172 EXPECT_EQ(std::vector<uptr>(s.trace, s.trace + s.size), in TEST_P()
173 std::vector<uptr>(trace.trace, trace.trace + trace.size)); in TEST_P()
/openbsd-src/regress/usr.bin/ssh/
H A Dsshsig.sh26 trace "start agent"
54 trace "$tid: key type $t check bad hashlg"
64 trace "$tid: key type $t sign with hash $h"
69 trace "$tid: key type $t verify with hash $h"
76 trace "$tid: key type $t verify with limited namespace"
84 trace "$tid: key type $t print-pubkey"
97 trace "$tid: key type $t verify with bad signers"
105 trace "$tid: key type $t verify with wrong key"
113 trace "$tid: key type $t verify with wrong data"
121 trace "$tid: key type $t verify with wrong principal"
[all …]
H A Dagent-pkcs11.sh8 trace "start agent"
14 trace "add pkcs11 key to agent"
21 trace "pkcs11 list via agent"
29 trace "testing $k"
37 trace "pkcs11 connect via agent ($k)"
45 trace "remove pkcs11 keys"
52 trace "kill agent"
H A Dmultiplex.sh25 trace "start master, fork to background"
36 trace "setenv over multiplexed connection"
45 trace "env passing over multiplexed connection"
56 trace "ssh transfer over $mode multiplexed connection and check result"
62 trace "ssh transfer over $mode multiplexed connection and check result"
69 trace "sftp transfer over multiplexed connection and check result"
76 trace "scp transfer over multiplexed connection and check result"
83 trace "forward over TCP/IP and check result"
93 trace "forward over UNIX and check result"
106 trace "exi
[all...]
H A Denvpass.sh16 trace "pass env, don't accept"
27 trace "setenv, don't accept"
39 trace "don't pass env, accept"
50 trace "pass single env, accept single env"
61 trace "pass multiple env, accept multiple env"
73 trace "setenv, accept"
84 trace "setenv, first match wins"
96 trace "server setenv wins"
110 trace "server setenv first match wins"
H A Dreconfigure.sh9 trace "connect before restart"
19 trace "wait for sshd to restart"
28 trace "connect after restart"
34 trace "reconfigure with active clients"
41 trace "wait for sshd to restart"
50 trace "connect after restart with active clients"
H A Dforcecommand.sh18 trace "test config with sftp"
27 trace "forced command in key option"
35 trace "forced command in sshd_config overrides key option"
42 trace "force command overriding subsystem"
50 trace "forced command with match"
53 trace "force command in match overriding subsystem"
58 trace "force command to sftpserver"
H A Dforwarding.sh24 trace "start forwarding, fork to background"
28 trace "transfer over forwarded channels and check result"
37 trace "exit on -$d forward failure"
64 trace "simple clear forwarding"
67 trace "clear local forward"
81 trace "clear remote forward"
95 trace "stdio forwarding"
105 trace "config file: start forwarding, fork to background"
109 trace "config file: transfer over forwarded channels and check result"
117 trace "transfer over chained unix domain socket forwards and check result"
H A Dagent.sh11 trace "start agent, args ${EXTRA_AGENT_ARGS} -s"
33 trace "overwrite authorized keys"
80 trace "simple connect via agent"
88 trace "connect via agent using $t key"
101 trace "agent forwarding"
119 trace "agent forwarding different agent"
147 trace "connect via agent using $t key"
160 trace "delete all agent keys using -D"
172 trace "readd keys"
184 trace "delet
[all...]
/openbsd-src/gnu/usr.bin/perl/cpan/Test-Simple/t/Test2/behavior/
H A Duuid.t39 is($events->[0]->trace->uuid, 'context-2', "First event has correct context");
40 is($events->[0]->trace->huuid, 'hub-2', "First event has correct hub");
45 is($events->[1]->trace->uuid, 'context-3', "Second event has correct context");
46 is($events->[1]->trace->huuid, 'hub-2', "Second event has correct hub");
49 is($events->[2]->trace->uuid, $events->[1]->trace->uuid, "Third event shares context with event 2");
50 is($events->[2]->trace->huuid, 'hub-2', "Third event has correct hub");
54 is($events->[3]->trace->uuid, 'context-4', "subtest gets next sequential context");
55 is($events->[3]->trace->huuid, 'hub-2', "subtest event has correct hub");
58 is($events->[3]->subevents->[0]->trace->uuid, 'context-5', "First subevent has correct context");
59 is($events->[3]->subevents->[0]->trace->huuid, 'hub-3', "First subevent has correct hub uuid (subte…
[all …]
H A Dtrace_signature.t20 my $sigpass = $events->[0]->trace->signature;
21 my $sigfail = $events->[1]->trace->signature;
25 is($events->[$_]->trace->signature, $sigfail, "Diags share failed ok's signature") for 2 .. $#$even…
29 my $trace = Test2::EventFacet::Trace->new(frame => ['main', 'foo.t', 42, 'xxx']);
30 delete $trace->{cid};
31 is($trace->signature, undef, "No signature without a cid");
37 is($e->related($events->[0]), undef, "Cannot check relation, invalid trace");
39 $e = Test2::Event::Ok->new(pass => 1, trace => Test2::EventFacet::Trace->new(frame => ['', '', '', …
40 is($e->related($events->[0]), undef, "Cannot check relation, incomplete trace");
42 $e = Test2::Event::Ok->new(pass => 1, trace => Test2::EventFacet::Trace->new(frame => []));
[all …]
H A Drun_subtest_inherit.t8 # Test a subtest that should inherit the trace from the tool that calls it
15 is($e->trace->file, $file, "subtest is at correct file");
16 is($e->trace->line, $line, "subtest is at correct line");
20 is($se->trace->file, $file, "subtest event is at correct file");
21 is($se->trace->line, $line, "subtest event is at correct line");
28 # Test a subtest that should NOT inherit the trace from the tool that calls it
35 is($e->trace->file, $file, "subtest is at correct file");
36 is($e->trace->line, $line, "subtest is at correct line");
40 ok($se->trace->file ne $file, "subtest event is not in our file");
41 ok($se->trace->line ne $line, "subtest event is not on our line");
/openbsd-src/gnu/usr.bin/perl/cpan/Test-Simple/t/Test2/modules/API/InterceptResult/
H A DSquasher.t18 trace => $trace1,
22 trace => $trace1,
26 trace => $trace1,
30 trace => $trace1,
34 # Same trace, but should not merge as it has an assert
36 trace => $trace1,
43 trace => $trace2,
49 trace => $trace3,
53 trace => $trace3,
58 trace
[all...]
/openbsd-src/gnu/usr.bin/perl/cpan/Test-Simple/t/Test2/modules/Event/
H A DV2.t42 my $trace = {frame => ['main', 'file.t', 42, 'foo'], tid => 0, pid => $$, stamp => 123};
43 $one = $CLASS->new(trace => $trace);
44 ok($trace != $one->trace, "Did not keep or modify the original trace ref");
45 ok($one->trace->isa('Test2::EventFacet::Trace'), "Blessed the trace");
46 is_deeply($one->trace, $trace, "Trac
[all...]
H A DOk.t11 my $trace;
13 # Make sure there is a fresh trace object for each group
14 $trace = Test2::EventFacet::Trace->new(
21 trace => $trace,
47 trace => $trace,
71 trace => $trace,
100 trace => $trace,
133 trace => $trace,
165 trace => $trace,
/openbsd-src/gnu/usr.bin/perl/cpan/Test-Simple/t/Test2/modules/API/
H A DContext.t36 delete $ctx->trace->frame->[4];
37 is_deeply($ctx->trace->frame, $frame, "Found place to report errors");
50 delete $ctx->trace->frame->[4];
51 is_deeply($ctx->trace->frame, $frame, "Found place to report errors");
77 delete $end_ctx->trace->frame->[4];
78 is_deeply( $end_ctx->trace->frame, $frame, 'context is ok in an end block');
94 my $trace = Test2::EventFacet::Trace->new(
98 trace => $trace,
105 is_deeply($e->trace, $trace, "Got the trace info");
111 is_deeply($e->trace, $trace, "Got the trace info");
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/Test-Simple/lib/Test2/Hub/
H A DSubtest.pm43 my $trace = $f->{trace} or die "Missing Trace!";
44 return $out unless $trace->{pid} != $self->pid
45 || $trace->{tid} != $self->tid;
61 my $trace = $f->{trace} or die "Missing Trace!";
63 && ($trace->{pid} != $$ || $trace->{tid} != get_tid);
/openbsd-src/gnu/llvm/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl.cpp84 Trace* trace = &thr->tctx->trace; in TracePartAlloc() local
85 if (trace->parts_allocated == max_parts || in TracePartAlloc()
89 if (part && part->trace) { in TracePartAlloc()
90 Trace* trace1 = part->trace; in TracePartAlloc()
92 part->trace = nullptr; in TracePartAlloc()
102 if (trace->parts_allocated < max_parts) { in TracePartAlloc()
103 trace->parts_allocated++; in TracePartAlloc()
118 DCHECK(part->trace); in TracePartFree()
119 part->trace = nullptr; in TracePartFree()
126 if (auto trace = part->trace) in TraceResetForTesting() local
[all …]
H A Dtsan_debugging.cpp55 static void CopyTrace(SymbolizedStack *first_frame, void **trace, in CopyTrace() argument
60 trace[i++] = (void *)frame->info.address; in CopyTrace()
98 int __tsan_get_report_stack(void *report, uptr idx, void **trace, in __tsan_get_report_stack() argument
103 if (stack) CopyTrace(stack->frames, trace, trace_size); in __tsan_get_report_stack()
109 int *size, int *write, int *atomic, void **trace, in __tsan_get_report_mop() argument
119 if (mop->stack) CopyTrace(mop->stack->frames, trace, trace_size); in __tsan_get_report_mop()
126 int *fd, int *suppressable, void **trace, in __tsan_get_report_loc() argument
138 if (loc->stack) CopyTrace(loc->stack->frames, trace, trace_size); in __tsan_get_report_loc()
154 int *destroyed, void **trace, uptr trace_size) { in __tsan_get_report_mutex() argument
161 if (mutex->stack) CopyTrace(mutex->stack->frames, trace, trace_size); in __tsan_get_report_mutex()
[all …]
/openbsd-src/gnu/llvm/llvm/docs/HistoricalNotes/
H A D2003-06-25-Reoptimizer1.txt56 together to form our trace. But we do not allow more than 5 paths; if
60 exit edge from the hot trace is less than 10% of the number of
87 When we finally generate an optimized trace we first copy the code
88 into the trace cache. This leaves us with 3 copies of the code: the
89 original code, the instrumented code, and the optimized trace. The
90 optimized trace does not have instrumentation. The original code and
91 the instrumented code are modified to have a branch to the trace
97 trace cache. Then we instrument that code. The process is similar for
98 generating the final optimized trace; we copy the same basic blocks
105 original code, trace, and instrumented code. So we have to keep the
[all …]
/openbsd-src/gnu/llvm/lldb/source/Plugins/Process/Linux/
H A DIntelPTThreadTraceCollection.cpp37 Expected<IntelPTSingleBufferTrace> trace = in TraceStart() local
39 if (!trace) in TraceStart()
40 return trace.takeError(); in TraceStart()
42 m_total_buffer_size += trace->GetIptTraceSize(); in TraceStart()
43 m_thread_traces.try_emplace(tid, std::move(*trace)); in TraceStart()
87 if (Expected<IntelPTSingleBufferTrace &> trace = in TryGetBinaryData() local
89 return trace->GetIptTrace(); in TryGetBinaryData()
91 return trace.takeError(); in TryGetBinaryData()
/openbsd-src/gnu/llvm/lldb/docs/use/
H A Dintel_pt.rst75 > process trace start # start tracing on all threads, including future ones
78 > thread trace dump instructions
97 Configuring the trace size
108 thread trace start all -s <size_in_bytes>
110 For reference, a 1MB trace buffer can easily store around 5M instructions.
119 thread trace dump instructions -c <count>
129 thread trace dump instructions <#thread index>
131 thread trace dump instructions 8
143 thread trace dump instructions
157 (lldb) thread trace dump instructions -c 5
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/Test-Simple/lib/Test2/
H A DEvent.pm10 use Test2::Util::HashBase qw/trace -amnesty uuid -_eid -hubs/;
39 'trace' => 'Test2::EventFacet::Trace',
90 my $tracea = $self->trace or return undef;
91 my $traceb = $event->trace or return undef;
137 if (my $trace = $self->trace) {
138 $out{trace} = { %$trace };
212 my %IGNORE = (trace => 1, about => 1, control => 1);
296 Carp::cluck("Use of Test2::Event->nested() is deprecated, use Test2::Event->trace
[all...]

12345678910>>...19