Test Plan: added merge-fdata-no-lbr-event*.test Reviewers: maksfb, paschalis-mpeis, yozhu, yota9, yavtuk, rafaelauler, ayermolo Reviewed By: rafaelauler Pull Request: https://github.com/llvm/llvm-project/pull/199323
22 lines
608 B
Text
22 lines
608 B
Text
## Check that merge-fdata preserves and propagates multiple event names from
|
|
## the "no_lbr" header line, deduplicating across input files, when combined
|
|
## with boltedcollection.
|
|
|
|
# REQUIRES: system-linux
|
|
|
|
# RUN: split-file %s %t
|
|
# RUN: merge-fdata %t/a.fdata %t/b.fdata -o %t/merged.fdata
|
|
# RUN: FileCheck %s --input-file %t/merged.fdata
|
|
|
|
# CHECK: boltedcollection
|
|
# CHECK: no_lbr{{.*( cycles:u| instructions)( cycles:u| instructions)}}
|
|
# CHECK: 0 main 10 150
|
|
|
|
#--- a.fdata
|
|
boltedcollection
|
|
no_lbr cycles:u instructions
|
|
0 main 10 100
|
|
#--- b.fdata
|
|
boltedcollection
|
|
no_lbr instructions cycles:u
|
|
0 main 10 50
|