gvrlog: fix build bug

Tested:
was
| ../git/src/main.cpp:60:28: error: extra tokens at end of #ifdef directive [-Werror]
|    60 | #ifdef DEFAULT_LOG_DIR_PATH:

Google-Bug-Id: 378934339
Change-Id: I8f2addf848c3493d78c020ca4612d562aaeba90c
Signed-off-by: Alex Lai <alexlai@google.com>
1 file changed
tree: 369ee29db02ca7dc3189d3fa1c165a048223a98b
  1. configs/
  2. include/
  3. kokoro/
  4. service_files/
  5. src/
  6. test/
  7. .clang-format
  8. .clang-tidy
  9. .gitignore
  10. meson.build
  11. meson.options
  12. README.md
README.md

Gvrlog

Gvrlog is a generalized design that collects and analyzes data from the registers of power managers (CPLDs and Power Sequencers) and voltage regulators (VRs) sensors via PMBus, supporting multiple scenarios.

API Usage

log_tool --config ${cfgDirPath} --log ${logDirPath} --type ${logType} --name ${specificName}

# Examples:
log_tool -c configs/power_rail_configs_example/ -l logs/power_rail -t power_rail -n P12V
log_tool -c configs/voltage_regulator_configs_example/ \
-l logs/voltage_regulator -t voltage_regulator -n P1V07_BMC
max34451_logger --config ${cfgDirPath} --log ${logDirPath} --details

# Example:
max34451_logger -c configs/power_rail_configs_example/max34451 -l logs/max34451 -d

For more details, please refer to the Onboarding Document.