Compare commits

...

5 Commits

Author SHA1 Message Date
Nathan bd25f0141c
Merge e5a9728e23 into dd4ada7023 2024-05-10 13:09:45 +08:00
aristocratos dd4ada7023 Fixed missing definition for ROCm static build 2024-05-01 20:43:46 +02:00
aristocratos b48bf6ae45 Add info text about regex filtering in help menu 2024-04-30 18:03:06 +02:00
Nathan Crapo e5a9728e23 dl* only needed with BTOP_GPU on Linux
Moving the dl library to a LINUX && BTOP_GPU section so -ldl doesn't
get included for non-Linux or non-GPU builds
2024-01-07 15:11:53 -07:00
Nathan Crapo b904097c6a Add unresolved externs for rpi 32 build 2024-01-06 21:04:39 -07:00
3 changed files with 6 additions and 3 deletions

View File

@ -143,6 +143,7 @@ target_link_libraries(btop Threads::Threads)
# Enable GPU support
if(LINUX AND BTOP_GPU)
target_compile_definitions(btop PRIVATE GPU_SUPPORT)
target_link_libraries(btop dl)
if(BTOP_RSMI_STATIC)
# ROCm doesn't properly add it's folders to the module path if `CMAKE_MODULE_PATH` is already

View File

@ -191,7 +191,7 @@ namespace Menu {
{"z", "Toggle totals reset for current network device"},
{"a", "Toggle auto scaling for the network graphs."},
{"y", "Toggle synced scaling mode for network graphs."},
{"f, /", "To enter a process filter."},
{"f, /", "To enter a process filter. Start with ! for regex."},
{"delete", "Clear any entered filter."},
{"c", "Toggle per-core cpu usage of processes."},
{"r", "Reverse sorting order in processes box."},

View File

@ -158,9 +158,11 @@ namespace Gpu {
//? AMD data collection
namespace Rsmi {
//? RSMI defines, structs & typedefs
#define RSMI_DEVICE_NAME_BUFFER_SIZE 128
#if !defined(RSMI_STATIC)
//? RSMI defines, structs & typedefs
#define RSMI_DEVICE_NAME_BUFFER_SIZE 128
#define RSMI_MAX_NUM_FREQUENCIES_V5 32
#define RSMI_MAX_NUM_FREQUENCIES_V6 33
#define RSMI_STATUS_SUCCESS 0