]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
Remove cleanup_trace_mem calls
authorKairui Song <kasong@redhat.com>
Wed, 27 May 2020 13:59:55 +0000 (21:59 +0800)
committerLukáš Nykrýn <lnykryn@redhat.com>
Wed, 27 May 2020 14:51:52 +0000 (16:51 +0200)
In commit 49c4172 all shell based memory tracing functions are removed,
there are some left over. Remove them as well.

Signed-off-by: Kairui Song <kasong@redhat.com>
modules.d/98dracut-systemd/dracut-pre-pivot.sh
modules.d/99base/init.sh

index 96e6f8caae8c7d2bbe870620b55936f88d7666c7..cc70e3c3498a20e2702b05b692abe3ac8946ae40 100755 (executable)
@@ -14,7 +14,6 @@ make_trace_mem "hook pre-pivot" '1:shortmem' '2+:mem' '3+:slab'
 getarg 'rd.break=pre-pivot' 'rdbreak=pre-pivot' && emergency_shell -n pre-pivot "Break pre-pivot"
 source_hook pre-pivot
 
-cleanup_trace_mem
 # pre pivot cleanup scripts are sourced just before we switch over to the new root.
 getarg 'rd.break=cleanup' 'rdbreak=cleanup' && emergency_shell -n cleanup "Break cleanup"
 source_hook cleanup
index 148ce8317e82d65d55626661ae41f0de66223e66..f70a811ed588809563842bf8d05c4ca504186d70 100755 (executable)
@@ -271,7 +271,6 @@ getarg 'rd.break=pre-pivot' -d 'rdbreak=pre-pivot' && emergency_shell -n pre-piv
 source_hook pre-pivot
 
 make_trace_mem "hook cleanup" '1:shortmem' '2+:mem' '3+:slab'
-cleanup_trace_mem
 # pre pivot cleanup scripts are sourced just before we switch over to the new root.
 getarg 'rd.break=cleanup' -d 'rdbreak=cleanup' && emergency_shell -n cleanup "Break cleanup"
 source_hook cleanup