summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/xray
diff options
context:
space:
mode:
authorMatthew Voss <matthew.voss@sony.com>2018-07-23 21:22:02 +0000
committerMatthew Voss <matthew.voss@sony.com>2018-07-23 21:22:02 +0000
commit1486d5c6e2170d3e14507707cff66a41054ac3dd (patch)
tree02bf98010382dccb2a326b9678e1322c53769d72 /compiler-rt/test/xray
parent6a32c0589cd2b60bf599b8aede33c484ec359e7a (diff)
downloadbcm5719-llvm-1486d5c6e2170d3e14507707cff66a41054ac3dd.tar.gz
bcm5719-llvm-1486d5c6e2170d3e14507707cff66a41054ac3dd.zip
Reapply "[XRay] Remove scheduling dependency in fork_basic_logging.cc"
Summary: Continuation of https://reviews.llvm.org/D49501 Second part of the test has an scheduling order when there shouldn't be. Reviewers: dberris, ormris Reviewed By: dberris, ormris Subscribers: TWeaver Differential Revision: https://reviews.llvm.org/D49559 llvm-svn: 337745
Diffstat (limited to 'compiler-rt/test/xray')
-rw-r--r--compiler-rt/test/xray/TestCases/Posix/fork_basic_logging.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler-rt/test/xray/TestCases/Posix/fork_basic_logging.cc b/compiler-rt/test/xray/TestCases/Posix/fork_basic_logging.cc
index dcfbdf41332..8c6855e1cf8 100644
--- a/compiler-rt/test/xray/TestCases/Posix/fork_basic_logging.cc
+++ b/compiler-rt/test/xray/TestCases/Posix/fork_basic_logging.cc
@@ -85,16 +85,16 @@ int main()
// TRACE-DAG: - { type: 0, func-id: [[PPOC:[0-9]+]], function: {{.*print_parent_or_child.*}}, cpu: {{.*}}, thread: [[THREAD1]], process: [[PROCESS1]], kind: function-enter, tsc: {{[0-9]+}} }
//
-// The parent will print its pid first
+// The parent will print its pid
// TRACE-DAG: - { type: 0, func-id: [[PPTARG:[0-9]+]], function: {{.*print_parent_tid.*}}, args: [ [[THREAD1]] ], cpu: {{.*}}, thread: [[THREAD1]], process: [[PROCESS1]], kind: function-enter-arg, tsc: {{[0-9]+}} }
// TRACE-DAG: - { type: 0, func-id: [[PPTARG]], function: {{.*print_parent_tid.*}}, cpu: {{.*}}, thread: [[THREAD1]], process: [[PROCESS1]], kind: function-exit, tsc: {{[0-9]+}} }
//
-// TRACE: - { type: 0, func-id: [[PPOC]], function: {{.*print_parent_or_child.*}}, cpu: {{.*}}, thread: [[THREAD1]], process: [[PROCESS1]], kind: function-{{exit|tail-exit}}, tsc: {{[0-9]+}} }
+// TRACE-DAG - { type: 0, func-id: [[PPOC]], function: {{.*print_parent_or_child.*}}, cpu: {{.*}}, thread: [[THREAD1]], process: [[PROCESS1]], kind: function-{{exit|tail-exit}}, tsc: {{[0-9]+}} }
// TRACE-DAG: - { type: 0, func-id: [[PPOC]], function: {{.*print_parent_or_child.*}}, cpu: {{.*}}, thread: [[THREAD2:[0-9]+]], process: [[PROCESS2:[0-9]+]], kind: function-enter, tsc: {{[0-9]+}} }
//
-// The child will print its pid now
+// The child will print its pid
// TRACE-DAG: - { type: 0, func-id: [[PCTARG:[0-9]+]], function: {{.*print_child_tid.*}}, args: [ [[THREAD2]] ], cpu: {{.*}}, thread: [[THREAD2]], process: [[PROCESS2]], kind: function-enter-arg, tsc: {{[0-9]+}} }
// TRACE-DAG: - { type: 0, func-id: [[PCTARG]], function: {{.*print_child_tid.*}}, cpu: {{.*}}, thread: [[THREAD2]], process: [[PROCESS2]], kind: function-exit, tsc: {{[0-9]+}} }
//
-// TRACE: - { type: 0, func-id: [[PPOC]], function: {{.*print_parent_or_child.*}}, cpu: {{.*}}, thread: [[THREAD2]], process: [[PROCESS2]], kind: function-{{exit|tail-exit}}, tsc: {{[0-9]+}} }
+// TRACE-DAG: - { type: 0, func-id: [[PPOC]], function: {{.*print_parent_or_child.*}}, cpu: {{.*}}, thread: [[THREAD2]], process: [[PROCESS2]], kind: function-{{exit|tail-exit}}, tsc: {{[0-9]+}} }
OpenPOWER on IntegriCloud