RRZE-HPC / likwid

Performance monitoring and benchmarking suite
https://hpc.fau.de/research/tools/likwid/
GNU General Public License v3.0
1.64k stars 226 forks source link

[BUG] setting verbosity in the marker api happens too late #607

Open jdomke opened 6 months ago

jdomke commented 6 months ago

The verbosity level is set here: https://github.com/RRZE-HPC/likwid/blob/2054ecfb1b3b318742880d3caba935b88b55ecf3/src/libperfctr.c#L202 but a few lines before that the following 4 calls happen

    topology_init();
    numa_init();
    affinity_init();
    hashTable_init();

and even with -V 3 and/or export LIKWID_DEBUG=3 the debug information from within those 4 calls is missing from the logs.