13.2.2. Debug Build Configuration - 5.2 English - 57404

AOCL User Guide (57404)

Document ID
57404
Release Date
2025-12-29
Version
5.2 English

To enable logging, build the source as shown here:

$ cmake -D ALMEM_LOGGING=Y -S <source_dir> -B <build_dir>

Logs will be stored in the “/tmp/libmem.log” file. Enable debugging logs by uncommenting the following line from “CMakeLists.txt” in the root directory. Debugging logs: add_definitions(-DLOG_LEVEL=4)