Lines Matching full:thread
26 self.expect("thread trace dump instructions", substrs=["main.cpp:9"])
28 # We'll see here the second thread
30 self.expect("thread trace dump instructions", substrs=["main.cpp:4"])
49 # We'll see here the first thread
52 # We are in thread 2
53 self.expect("thread trace dump instructions", substrs=["main.cpp:9"])
54 self.expect("thread trace dump instructions 2", substrs=["main.cpp:9"])
57 self.expect("thread trace stop all")
60 self.expect("thread trace dump instructions 2", substrs=["main.cpp:9"])
62 … # We'll stop at the next breakpoint in thread 3, thread 2 and 3 will be alive, but only 3 traced.
64 self.expect("thread trace dump instructions", substrs=["main.cpp:4"])
65 self.expect("thread trace dump instructions 3", substrs=["main.cpp:4"])
67 "thread trace dump instructions 1", substrs=["not traced"], error=True
70 "thread trace dump instructions 2", substrs=["not traced"], error=True
88 # We are in thread 2
89 self.expect("thread trace start all")
90 # Now we have instructions in thread's 2 trace
93 self.expect("thread trace dump instructions 2", substrs=["main.cpp:11"])
96 self.runCmd("thread trace stop all")
99 self.expect("thread trace dump instructions 2", substrs=["main.cpp:11"])
101 # We'll stop at the next breakpoint in thread 3, and nothing should be traced
104 "thread trace dump instructions 3", substrs=["not traced"], error=True
107 "thread trace dump instructions 1", substrs=["not traced"], error=True
110 "thread trace dump instructions 2", substrs=["not traced"], error=True
124 # trace the entire process with enough total size for 1 thread trace
128 self.expect("c", substrs=["Thread", "can't be traced"])
130 self.expect("c", substrs=["Thread", "can't be traced"])
169 # We can't support tracing per thread is per cpu is enabled.
171 error="True", substrs=["Thread with tid ", "is currently traced"]
174 # We can't stop individual thread when per cpu is enabled.
178 "Can't stop tracing an individual thread when per-cpu process tracing is enabled"
223 self.expect("thread trace dump instructions")