1 # RUN: llvm-profdata merge --temporal-profile-max-trace-length=0 %s -o %t.profdata
2 # RUN: llvm-profdata show --temporal-profile-traces %t.profdata | FileCheck %s --check-prefix=NONE
4 # RUN: llvm-profdata merge --temporal-profile-max-trace-length=2 %s -o %t.profdata
5 # RUN: llvm-profdata show --temporal-profile-traces %t.profdata | FileCheck %s --check-prefixes=CHECK,SOME
7 # RUN: llvm-profdata merge --temporal-profile-max-trace-length=1000 %s -o %t.profdata
8 # RUN: llvm-profdata show --temporal-profile-traces %t.profdata | FileCheck %s --check-prefixes=CHECK,ALL
10 # NONE: Temporal Profile Traces (samples=0 seen=0):
11 # CHECK: Temporal Profile Traces (samples=1 seen=1):
12 # SOME: Trace 0 (weight=1 count=2):
13 # ALL: Trace 0 (weight=1 count=3):