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