The create_eventset command only has two required options, not three.

Signed-off-by: Kevin Corry <[EMAIL PROTECTED]>

--- libpfm-a/examples/pfmsetup.c        24 Apr 2007 04:46:33 -0000
+++ libpfm-b/examples/pfmsetup.c        26 Apr 2007 19:27:12 -0000
@@ -1362,7 +1362,7 @@
                }
        }
 
-       if (argc < optind + 3) {
+       if (argc < optind + 2) {
                USAGE("create_eventset [options] <context_id> <event_set_id>");
                return EINVAL;
        }
_______________________________________________
perfmon mailing list
[email protected]
http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/

Reply via email to