changeset 965:e32fd30f13db

profilers: print perfasm/stack profilers again.
author shade
date Mon, 18 Aug 2014 16:18:53 +0400
parents da149d95b9cc
children c941eda8b87f
files jmh-core/src/main/java/org/openjdk/jmh/profile/LinuxPerfAsmProfiler.java jmh-core/src/main/java/org/openjdk/jmh/profile/StackProfiler.java
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/jmh-core/src/main/java/org/openjdk/jmh/profile/LinuxPerfAsmProfiler.java	Mon Aug 18 15:45:09 2014 +0400
+++ b/jmh-core/src/main/java/org/openjdk/jmh/profile/LinuxPerfAsmProfiler.java	Mon Aug 18 16:18:53 2014 +0400
@@ -765,7 +765,7 @@
         private final String output;
 
         public PerfResult(String output) {
-            super(ResultRole.OMITTED, "@asm", of(Double.NaN), "---", AggregationPolicy.AVG);
+            super(ResultRole.SECONDARY, "@asm", of(Double.NaN), "---", AggregationPolicy.AVG);
             this.output = output;
         }
 
--- a/jmh-core/src/main/java/org/openjdk/jmh/profile/StackProfiler.java	Mon Aug 18 15:45:09 2014 +0400
+++ b/jmh-core/src/main/java/org/openjdk/jmh/profile/StackProfiler.java	Mon Aug 18 16:18:53 2014 +0400
@@ -200,7 +200,7 @@
         private final Map<Thread.State, Multiset<StackRecord>> stacks;
 
         public StackResult(Map<Thread.State, Multiset<StackRecord>> stacks) {
-            super(ResultRole.OMITTED, "@stack", of(Double.NaN), "---", AggregationPolicy.AVG);
+            super(ResultRole.SECONDARY, "@stack", of(Double.NaN), "---", AggregationPolicy.AVG);
             this.stacks = stacks;
         }