Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Diff of /utils/ophelp.c [ed40d8] .. [c0b7ac] Maximize Restore

  Switch to side-by-side view

--- a/utils/ophelp.c
+++ b/utils/ophelp.c
@@ -450,8 +450,12 @@
 	}
 
 	if (cpu_type == CPU_TIMER_INT) {
-		if (!check_events)
-			printf("Using timer interrupt.\n");
+		if (!check_events) {
+			printf("Using timer interrupt.\n"
+			       "Timer mode is only supported by 'opcontrol'. If you intend to use operf or\n"
+			       "ocount, you must first ensure the oprofile kernel module is unloaded\n"
+			       "(using 'opcontrol --deinit'); then try the operation again.\n");
+		}
 		exit(EXIT_SUCCESS);
 	}