You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@find api cmd hack internal -name "zz_generated.deepcopy.go" -delete # Need to delete the files for them to be generated properly
177
+
@find api cmd hack internal -name "zz_generated.deepcopy.go" -not -path "*/vendor/*" -delete # Need to delete the files for them to be generated properly
build-test-profiler: #EXHELP Build the test profiling tool
344
+
cd hack/tools/test-profiling && go build -o ../../../$(TEST_PROFILE_BIN) ./cmd/test-profile
345
+
346
+
.PHONY: test-test-profiler
347
+
test-test-profiler: #EXHELP Run unit tests for the test profiling tool
348
+
cd hack/tools/test-profiling && go test -v ./...
349
+
350
+
.PHONY: start-profiling
351
+
start-profiling: build-test-profiler #EXHELP Start profiling in background with auto-generated name (timestamp). Use start-profiling/<name> for custom name.
352
+
$(TEST_PROFILE_BIN) start
353
+
354
+
.PHONY: start-profiling/%
355
+
start-profiling/%: build-test-profiler #EXHELP Start profiling in background with specified name. Usage: make start-profiling/<name>
356
+
$(TEST_PROFILE_BIN) start $*
357
+
358
+
.PHONY: stop-profiling
359
+
stop-profiling: build-test-profiler #EXHELP Stop profiling and generate analysis report
0 commit comments