Skip to content

Commit 093212e

Browse files
authored
Merge pull request #48562 from makortel/edmProvDumpHardware
Enhance process information in `edmProvDump` output and include hardware information there
2 parents ef9550b + 1e9cfc0 commit 093212e

18 files changed

+2515
-352
lines changed

HLTrigger/Tools/scripts/hltInfo

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ FILE="$1"
2222
edmProvDump "$FILE" | awk '
2323
BEGIN {keep=0}
2424
/Producers with data in file/ {keep=0}
25-
/^Processing History:/ {keep=1; next}
26-
keep && NF >= 4 {
27-
proc = $1;
25+
/--Processes--/ {keep=1; next}
26+
keep && /Process:/ { proc = $2 }
27+
keep && /PSet id:/ { hash = $3 }
28+
keep && /version:/ {
2829
rel = gensub(/["'\'']/, "", "g", $2);
29-
hash = gensub(/[()]/, "", "g", $4);
30-
print proc, rel, hash;
30+
print proc, rel, hash
3131
}
32-
' | while read PROC REL HASH; do
32+
'| while read PROC REL HASH; do
3333
echo "process $PROC (release $REL)"
3434
edmProvDump "$FILE" --dumpPSetID "$HASH" 2>/dev/null | \
3535
grep -E '^\s*tableName:|^\s*globaltag:' | \

IOPool/Common/bin/BuildFile.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<bin name="edmProvDump" file="EdmProvDump.cc,">
22
<use name="boost_program_options"/>
3+
<use name="fmt"/>
34
<use name="rootcore"/>
45
<use name="DataFormats/Common"/>
56
<use name="DataFormats/Provenance"/>

0 commit comments

Comments
 (0)