Index: tracing/tracing/extras/importer/linux_perf/exynos_parser.html |
diff --git a/tracing/tracing/extras/importer/linux_perf/exynos_parser.html b/tracing/tracing/extras/importer/linux_perf/exynos_parser.html |
index f32f85cb21a87c4b206c955cc76d1d71e76843f6..58ea2740c993adc0bc76052515d1c2ebb55f441b 100644 |
--- a/tracing/tracing/extras/importer/linux_perf/exynos_parser.html |
+++ b/tracing/tracing/extras/importer/linux_perf/exynos_parser.html |
@@ -54,8 +54,7 @@ tr.exportTo('tr.e.importer.linux_perf', function() { |
*/ |
busfreqTargetIntEvent: function(eventName, cpuNumber, pid, ts, eventBase) { |
var event = /frequency=(\d+)/.exec(eventBase.details); |
- if (!event) |
- return false; |
+ if (!event) return false; |
this.exynosBusfreqSample('INT Frequency', ts, parseInt(event[1])); |
return true; |
@@ -66,8 +65,7 @@ tr.exportTo('tr.e.importer.linux_perf', function() { |
*/ |
busfreqTargetMifEvent: function(eventName, cpuNumber, pid, ts, eventBase) { |
var event = /frequency=(\d+)/.exec(eventBase.details); |
- if (!event) |
- return false; |
+ if (!event) return false; |
this.exynosBusfreqSample('MIF Frequency', ts, parseInt(event[1])); |
return true; |
@@ -99,8 +97,7 @@ tr.exportTo('tr.e.importer.linux_perf', function() { |
*/ |
pageFlipStateEvent: function(eventName, cpuNumber, pid, ts, eventBase) { |
var event = /pipe=(\d+), fb=(\d+), state=(.*)/.exec(eventBase.details); |
- if (!event) |
- return false; |
+ if (!event) return false; |
var pipe = parseInt(event[1]); |
var fb = parseInt(event[2]); |
@@ -111,8 +108,9 @@ tr.exportTo('tr.e.importer.linux_perf', function() { |
pipe: pipe, |
fb: fb |
}); |
- if (state !== 'flipped') |
+ if (state !== 'flipped') { |
this.exynosPageFlipStateOpenSlice(ts, pipe, fb, state); |
+ } |
return true; |
} |
}; |