Blame SOURCES/sos-bz1638637-kernel-dont-collect-tracing-instance.patch

fce3c4
From d6379b5ba0f381ea8ec2403b9985100a946a5866 Mon Sep 17 00:00:00 2001
fce3c4
From: Pavel Moravec <pmoravec@redhat.com>
fce3c4
Date: Mon, 8 Oct 2018 10:45:04 +0200
fce3c4
Subject: [PATCH] [kernel] dont collect some tracing instance files
fce3c4
fce3c4
As copying of them hangs.
fce3c4
fce3c4
Resolves: #1445
fce3c4
fce3c4
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
fce3c4
---
fce3c4
 sos/plugins/kernel.py | 5 ++++-
fce3c4
 1 file changed, 4 insertions(+), 1 deletion(-)
fce3c4
fce3c4
diff --git a/sos/plugins/kernel.py b/sos/plugins/kernel.py
fce3c4
index 73109326..558e7143 100644
fce3c4
--- a/sos/plugins/kernel.py
fce3c4
+++ b/sos/plugins/kernel.py
fce3c4
@@ -93,7 +93,10 @@ class Kernel(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
fce3c4
             '/sys/kernel/debug/tracing/events/*',
fce3c4
             '/sys/kernel/debug/tracing/free_buffer',
fce3c4
             '/sys/kernel/debug/tracing/trace_marker',
fce3c4
-            '/sys/kernel/debug/tracing/trace_marker_raw'
fce3c4
+            '/sys/kernel/debug/tracing/trace_marker_raw',
fce3c4
+            '/sys/kernel/debug/tracing/instances/*/per_cpu/*/snapshot_raw',
fce3c4
+            '/sys/kernel/debug/tracing/instances/*/per_cpu/*/trace_pipe*',
fce3c4
+            '/sys/kernel/debug/tracing/instances/*/trace_pipe'
fce3c4
         ])
fce3c4
 
fce3c4
         self.add_copy_spec([
fce3c4
-- 
fce3c4
2.17.1
fce3c4