Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add compile time flags in prints #173

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

briancoutinho
Copy link
Contributor

@briancoutinho briancoutinho commented Aug 23, 2023

Related to an issue we saw on FAIR research cluster, some of the compille time flags were not set as expected.
This change prints them so we can easily debug issues.
Meta task - https://www.internalfb.com/T156657507

TestPlan:
Ran on test docker container.

root@e29f5504c399:/workspace/dynolog# ./build/bin/dynolog --use_scuba --scribe_category test --kernel_monitor_reporting_interval_s 10 --use_JSON --use_ODS
I20230823 22:40:52.596849 28682 Main.cpp:147] Starting dynolog, version = 0.3.0, build git-hash = 75af067
I20230823 22:40:52.600204 28682 Main.cpp:149] Build Config:
I20230823 22:40:52.600279 28682 Main.cpp:150]   USE_GRAPH_ENDPOINT = 1
I20230823 22:40:52.600323 28682 Main.cpp:157]   USE_JSON_GENERATED_PERF_EVENTS = 0
I20230823 22:40:52.600371 28682 Main.cpp:163]   USE_PROMETHEUS = 0

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 23, 2023
@facebook-github-bot
Copy link
Contributor

@briancoutinho has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants