1# RUN: llvm-profdata merge -text %s -o %t.1.proftext 2# RUN: llvm-profdata merge -binary %t.1.proftext -o %t.2.profdata 3# RUN: llvm-profdata merge -text %t.2.profdata -o %t.3.proftext 4# RUN: diff %t.1.proftext %t.3.proftext 5 6# RUN: llvm-profdata show --temporal-profile-traces %t.1.proftext | FileCheck %s 7 8# CHECK: Temporal Profile Traces (samples=3 seen=3): 9# CHECK: Temporal Profile Trace 0 (weight=1 count=3): 10# CHECK: foo 11# CHECK: bar 12# CHECK: goo 13# CHECK: Temporal Profile Trace 1 (weight=3 count=3): 14# CHECK: foo 15# CHECK: goo 16# CHECK: bar 17# CHECK: Temporal Profile Trace 2 (weight=1 count=1): 18# CHECK: goo 19 20# Header 21:ir 22:temporal_prof_traces 23# Num Traces: 243 25# Trace Stream Size: 263 27# Weight 281 29foo, bar, goo 30# Weight 313 32foo,goo,bar, 33# Weight 341 35goo 36 37foo 38# Func Hash: 390x1234 40# Num Counters: 411 42# Counter Values: 43101 44 45bar 460x5678 471 48202 49 50goo 510xabcd 521 53303 54