From 0d8fc9f9231c12b89a6a117485b4394bcf9576ed Mon Sep 17 00:00:00 2001 From: Kaiyuan Zhang Date: Tue, 16 Sep 2025 20:24:00 +0000 Subject: [PATCH] [profiler example] Add missing "err.h" include in "profiler.h" Several profiler_v*.h files uses ncclResult_t defined in err.h but the header is not #included-ed in "profiler.h" Currently the .c files in example does include it before including "profiler.h" and therefore does not trigger compilation error. But this commit should make the "profiler.h" header self-contained (as it was in previous versions). --- ext-profiler/example/nccl/profiler.h | 1 + 1 file changed, 1 insertion(+) diff --git a/ext-profiler/example/nccl/profiler.h b/ext-profiler/example/nccl/profiler.h index 715885f72..6db5b7f7b 100644 --- a/ext-profiler/example/nccl/profiler.h +++ b/ext-profiler/example/nccl/profiler.h @@ -11,6 +11,7 @@ #include #include "common.h" +#include "err.h" enum { ncclProfileGroup = (1 << 0), // group event type