|
Harald Hoyer |
308914 |
From 2a611328652388b809a379403ceec126cb55819f Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
308914 |
From: Kairui Song <kasong@redhat.com>
|
|
Harald Hoyer |
308914 |
Date: Wed, 27 May 2020 21:59:55 +0800
|
|
Harald Hoyer |
308914 |
Subject: [PATCH] Remove cleanup_trace_mem calls
|
|
Harald Hoyer |
308914 |
|
|
Harald Hoyer |
308914 |
In commit 49c4172 all shell based memory tracing functions are removed,
|
|
Harald Hoyer |
308914 |
there are some left over. Remove them as well.
|
|
Harald Hoyer |
308914 |
|
|
Harald Hoyer |
308914 |
Signed-off-by: Kairui Song <kasong@redhat.com>
|
|
Harald Hoyer |
308914 |
---
|
|
Harald Hoyer |
308914 |
modules.d/98dracut-systemd/dracut-pre-pivot.sh | 1 -
|
|
Harald Hoyer |
308914 |
modules.d/99base/init.sh | 1 -
|
|
Harald Hoyer |
308914 |
2 files changed, 2 deletions(-)
|
|
Harald Hoyer |
308914 |
|
|
Harald Hoyer |
308914 |
diff --git a/modules.d/98dracut-systemd/dracut-pre-pivot.sh b/modules.d/98dracut-systemd/dracut-pre-pivot.sh
|
|
Harald Hoyer |
308914 |
index 96e6f8ca..cc70e3c3 100755
|
|
Harald Hoyer |
308914 |
--- a/modules.d/98dracut-systemd/dracut-pre-pivot.sh
|
|
Harald Hoyer |
308914 |
+++ b/modules.d/98dracut-systemd/dracut-pre-pivot.sh
|
|
Harald Hoyer |
308914 |
@@ -14,7 +14,6 @@ make_trace_mem "hook pre-pivot" '1:shortmem' '2+:mem' '3+:slab'
|
|
Harald Hoyer |
308914 |
getarg 'rd.break=pre-pivot' 'rdbreak=pre-pivot' && emergency_shell -n pre-pivot "Break pre-pivot"
|
|
Harald Hoyer |
308914 |
source_hook pre-pivot
|
|
Harald Hoyer |
308914 |
|
|
Harald Hoyer |
308914 |
-cleanup_trace_mem
|
|
Harald Hoyer |
308914 |
# pre pivot cleanup scripts are sourced just before we switch over to the new root.
|
|
Harald Hoyer |
308914 |
getarg 'rd.break=cleanup' 'rdbreak=cleanup' && emergency_shell -n cleanup "Break cleanup"
|
|
Harald Hoyer |
308914 |
source_hook cleanup
|
|
Harald Hoyer |
308914 |
diff --git a/modules.d/99base/init.sh b/modules.d/99base/init.sh
|
|
Harald Hoyer |
308914 |
index 148ce831..f70a811e 100755
|
|
Harald Hoyer |
308914 |
--- a/modules.d/99base/init.sh
|
|
Harald Hoyer |
308914 |
+++ b/modules.d/99base/init.sh
|
|
Harald Hoyer |
308914 |
@@ -271,7 +271,6 @@ getarg 'rd.break=pre-pivot' -d 'rdbreak=pre-pivot' && emergency_shell -n pre-piv
|
|
Harald Hoyer |
308914 |
source_hook pre-pivot
|
|
Harald Hoyer |
308914 |
|
|
Harald Hoyer |
308914 |
make_trace_mem "hook cleanup" '1:shortmem' '2+:mem' '3+:slab'
|
|
Harald Hoyer |
308914 |
-cleanup_trace_mem
|
|
Harald Hoyer |
308914 |
# pre pivot cleanup scripts are sourced just before we switch over to the new root.
|
|
Harald Hoyer |
308914 |
getarg 'rd.break=cleanup' -d 'rdbreak=cleanup' && emergency_shell -n cleanup "Break cleanup"
|
|
Harald Hoyer |
308914 |
source_hook cleanup
|
|
Harald Hoyer |
308914 |
|