Blame SOURCES/0083-boot-analysis-Make-ftrace-optional-in-the-timeline.patch

e76f14
From a5d102f5b31dc98373bc73f2a1ea261d14baac73 Mon Sep 17 00:00:00 2001
e76f14
From: "Richard W.M. Jones" <rjones@redhat.com>
e76f14
Date: Tue, 10 May 2016 12:16:36 +0100
e76f14
Subject: [PATCH] boot-analysis: Make ftrace optional in the timeline.
e76f14
e76f14
This allows me to test minimal kernels with ftrace disabled at
e76f14
compile time.
e76f14
e76f14
(cherry picked from commit e4edede3641f3c8d3ac729c1a6c871f532b2b996)
e76f14
---
e76f14
 utils/boot-analysis/boot-analysis-timeline.c | 2 +-
e76f14
 1 file changed, 1 insertion(+), 1 deletion(-)
e76f14
e76f14
diff --git a/utils/boot-analysis/boot-analysis-timeline.c b/utils/boot-analysis/boot-analysis-timeline.c
e76f14
index 09a78ef..905d1e3 100644
e76f14
--- a/utils/boot-analysis/boot-analysis-timeline.c
e76f14
+++ b/utils/boot-analysis/boot-analysis-timeline.c
e76f14
@@ -306,7 +306,7 @@ construct_timeline (void)
e76f14
 #endif
e76f14
 
e76f14
     /* ftrace patching instructions. */
e76f14
-    FIND ("kernel:ftrace", 0,
e76f14
+    FIND_OPTIONAL ("kernel:ftrace", 0,
e76f14
           data->events[j].source == GUESTFS_EVENT_APPLIANCE &&
e76f14
           strstr (data->events[j].message, "ftrace: allocating"),
e76f14
           1);
e76f14
-- 
e76f14
1.8.3.1
e76f14