Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(224)

Unified Diff: tracing/tracing/extras/importer/linux_perf/irq_parser.html

Issue 2776653002: [ESLint] Fix violations when enabling curly rule in eslint. (Closed)
Patch Set: rebase Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tracing/tracing/extras/importer/linux_perf/irq_parser.html
diff --git a/tracing/tracing/extras/importer/linux_perf/irq_parser.html b/tracing/tracing/extras/importer/linux_perf/irq_parser.html
index 1641213c05db4a56080e54dfe3cd40cf823faa86..25b4217297473e12d7c07dd94347741a355979bf 100644
--- a/tracing/tracing/extras/importer/linux_perf/irq_parser.html
+++ b/tracing/tracing/extras/importer/linux_perf/irq_parser.html
@@ -60,8 +60,7 @@ tr.exportTo('tr.e.importer.linux_perf', function() {
*/
irqHandlerEntryEvent: function(eventName, cpuNumber, pid, ts, eventBase) {
var event = irqHandlerEntryRE.exec(eventBase.details);
- if (!event)
- return false;
+ if (!event) return false;
var irq = parseInt(event[1]);
var name = event[2];
@@ -76,8 +75,7 @@ tr.exportTo('tr.e.importer.linux_perf', function() {
irqHandlerExitEvent: function(eventName, cpuNumber, pid, ts, eventBase) {
var event = irqHandlerExitRE.exec(eventBase.details);
- if (!event)
- return false;
+ if (!event) return false;
var irq = parseInt(event[1]);
var ret = event[2];
@@ -105,8 +103,7 @@ tr.exportTo('tr.e.importer.linux_perf', function() {
softirqEntryEvent: function(eventName, cpuNumber, pid, ts, eventBase) {
var event = softirqRE.exec(eventBase.details);
- if (!event)
- return false;
+ if (!event) return false;
var action = event[2];
var thread = this.importer.getOrCreatePseudoThread(
@@ -118,8 +115,7 @@ tr.exportTo('tr.e.importer.linux_perf', function() {
softirqExitEvent: function(eventName, cpuNumber, pid, ts, eventBase) {
var event = softirqRE.exec(eventBase.details);
- if (!event)
- return false;
+ if (!event) return false;
var vec = parseInt(event[1]);
var action = event[2];
@@ -151,8 +147,7 @@ tr.exportTo('tr.e.importer.linux_perf', function() {
ipiExitEvent: function(eventName, cpuNumber, pid, ts, eventBase) {
var event = ipiHandlerExitRE.exec(eventBase.details);
- if (!event)
- return false;
+ if (!event) return false;
var ipiName = event[1];
var thread = this.importer.getOrCreatePseudoThread(

Powered by Google App Engine
This is Rietveld 408576698