Skip to content

Conversation

@kdvalin
Copy link
Member

@kdvalin kdvalin commented Jan 21, 2026

Description

Adds --debug flag which will initiate bash -x output when running a wrapper.

Before/After Comparison

Before

Manual editing was sometimes required when running wrappers to get bash -x output.

After

The wrapper can now receive --debug to see bash -x trace output.

Clerical Stuff

This closes #135

Relates to JIRA: RPOPC-777

Output of ./coremark-wrapper/coremark/coremark_run --debug
coremark.log

Adds `--debug` flag which will initiate `bash -x` output when running a
wrapper.
@kdvalin kdvalin requested a review from a team January 21, 2026 20:35
@github-actions
Copy link

This relates to RPOPC-777

echo " RHEL systems, default is none."
echo " --usage: this usage message."
echo " --use_pcp: Enables use of Performance Co-Pilot in wrappers, defaults to 0."
echo " --debug: Enables bash -x output, useful for debugging issues with wrappers"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quibble: If we're trying to maintain alphabetical order in the option list this should go at the other end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add flag to enable bash -x

3 participants