changeset 1262:3adb58795226

7901483: perfnorm fails to run with perf 3.2, tries to gather unsupported events
author shade
date Thu, 13 Aug 2015 18:00:26 +0300
parents 0c56a3867bd7
children 898b59ce36f8
files jmh-core/src/main/java/org/openjdk/jmh/profile/LinuxPerfNormProfiler.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/jmh-core/src/main/java/org/openjdk/jmh/profile/LinuxPerfNormProfiler.java	Thu Aug 13 17:55:46 2015 +0300
+++ b/jmh-core/src/main/java/org/openjdk/jmh/profile/LinuxPerfNormProfiler.java	Thu Aug 13 18:00:26 2015 +0300
@@ -75,7 +75,7 @@
 
         OptionSpec<String> optEvents = parser.accepts("events",
                         "Events to gather.")
-                .withRequiredArg().ofType(String.class).withValuesSeparatedBy(",").describedAs("event+").defaultsTo(interestingEvents);
+                .withRequiredArg().ofType(String.class).withValuesSeparatedBy(",").describedAs("event+");
 
         OptionSpec<Integer> optDelay = parser.accepts("delay",
                         "Delay collection for a given time, in milliseconds; -1 to detect automatically.")