4 ms·
Will if run on latest NixOS?
by CMCDragonkai 2y ago
Will if run on latest NixOS?
- sidkshatriya 2y agoProbably not at the moment. _Software Counter mode_ rr requires robust support for debuginfod in your Linux distribution. NixOS to my knowledge does not provide debuginfo via a dedicated debuginfod server for all packages so this will make things unreliable for debugging via _Software Counters mode_ rr for packages for which debuginfo is not available via debuginfod. I recently learned about https://github.com/symphorien/nixseparatedebuginfod https://github.com/symphorien/nixseparatedebuginfod for nix (note: I haven't used this so I don't know how reliable or good this is). Anyways, this project requires setting `separateDebuginfo = true;` for the derivation for the debuginfo to be available via debuginfod. This is an opt in approach but we need pervasive support like it exists in Fedora (and some others).