libtracefs utest: Do not test kprobe interface if there's no kprobes

If the kernel does not support kprobes, do not bother testing the kprobe
interface.

Link: https://lore.kernel.org/20240820174517.152e4404@gandalf.local.home
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
diff --git a/utest/tracefs-utest.c b/utest/tracefs-utest.c
index b295253..5bfd665 100644
--- a/utest/tracefs-utest.c
+++ b/utest/tracefs-utest.c
@@ -2280,6 +2280,11 @@
 	int ret;
 	int i;
 
+	if (!tracefs_file_exists(NULL, "kprobe_events")) {
+		printf("[KERNEL DOES NOT HAVE KPROBE EVENTS] ...");
+		return;
+	}
+
 	tep = tep_alloc();
 	CU_TEST(tep != NULL);