[Profiler plugin] Fix segfault issue with profiler plugin (#1973)

* Fix profiler plugin segfault by correctly setting p2p->func

* Look for librccl-profiler.so instead of libnccl-profiler.so

Signed-off-by: rahulvaidya20 <ravaidya@amd.com>

---------

Signed-off-by: rahulvaidya20 <ravaidya@amd.com>
Co-authored-by: Yongjie Qiu <Yongjie.Qiu@amd.com>
This commit is contained in:
Rahul Vaidya
2025-10-16 16:33:18 -05:00
committed by GitHub
parent 154350baaf
commit 624f68b2b2
4 changed files with 11 additions and 10 deletions
+3 -3
View File
@@ -11,12 +11,12 @@ NCCLDIR := $(BUILDDIR)
SRC_FILES := $(wildcard *.c)
build: ${BUILDDIR}/libnccl-profiler-example.so
build: ${BUILDDIR}/librccl-profiler.so
${BUILDDIR}/libnccl-profiler-example.so: ${SRC_FILES}
${BUILDDIR}/librccl-profiler.so: ${SRC_FILES}
@printf "Compiling %-35s > %s\n" $< $@
@mkdir -p ${BUILDDIR}
$(CC) -Inccl -fPIC -shared -o $@ $^
clean:
rm -f ${BUILDDIR}/libnccl-profiler-example.so
rm -f ${BUILDDIR}/librccl-profiler.so