Update to LIKWID 5.5.1

This commit is contained in:
Michael Panzlaff
2026-02-24 17:50:32 +01:00
parent 4a8159ef82
commit 315f2750ea
3 changed files with 5 additions and 2 deletions

3
.gitignore vendored
View File

@@ -13,3 +13,6 @@
# Dependency directories (remove the comment below to include it) # Dependency directories (remove the comment below to include it)
# vendor/ # vendor/
# Local copy of LIKWID headers
/collectors/likwid

View File

@@ -1,5 +1,5 @@
# LIKWID version # LIKWID version
LIKWID_VERSION := 5.4.1 LIKWID_VERSION := 5.5.1
LIKWID_INSTALLED_FOLDER := $(shell dirname $$(which likwid-topology 2>/dev/null) 2>/dev/null) LIKWID_INSTALLED_FOLDER := $(shell dirname $$(which likwid-topology 2>/dev/null) 2>/dev/null)
LIKWID_FOLDER := $(CURDIR)/likwid LIKWID_FOLDER := $(CURDIR)/likwid

View File

@@ -331,7 +331,7 @@ func (m *LikwidCollector) Init(config json.RawMessage) error {
for _, c := range m.cpulist { for _, c := range m.cpulist {
m.measureThread.Call( m.measureThread.Call(
func() { func() {
retCode := C.HPMaddThread(c) retCode := C.HPMaddThread(C.uint32_t(c))
if retCode != 0 { if retCode != 0 {
err := fmt.Errorf("C.HPMaddThread(%v) failed with return code %v", c, retCode) err := fmt.Errorf("C.HPMaddThread(%v) failed with return code %v", c, retCode)
cclog.ComponentError(m.name, err.Error()) cclog.ComponentError(m.name, err.Error())