Thread (8 messages) 8 messages, 2 authors, 2016-03-17
STALE3743d
Revisions (2)
  1. v1 current
  2. v2 [diff vs current]

[PATCH 2/4] cyclictest: move debugfs init code to its own function

From: Luiz Capitulino <hidden>
Date: 2016-02-25 16:29:26
Subsystem: the rest · Maintainer: Linus Torvalds

A function added by a future commit will want to call
this code too.

Signed-off-by: Luiz Capitulino <redacted>
---
 src/cyclictest/cyclictest.c | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/src/cyclictest/cyclictest.c b/src/cyclictest/cyclictest.c
index 54fc033..f543c34 100644
--- a/src/cyclictest/cyclictest.c
+++ b/src/cyclictest/cyclictest.c
@@ -479,11 +479,8 @@ static int settracer(char *tracer)
 	return -1;
 }
 
-static void setup_tracer(void)
+static void debugfs_prepare(void)
 {
-	if (!tracelimit || notrace)
-		return;
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help