Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7fae8e75 authored by Lingutla Chandrasekhar's avatar Lingutla Chandrasekhar Committed by Isaac J. Manjarres
Browse files

qcom: minidump: don't register idle task's stack in minidump



Idle task stacks are not much useful for debug in minidump.
Remove idle task and its stack registration to optimize minidump
size and collection time.

Change-Id: Ifa9e3ba54a6a0c912aa022707496c8f2e48dee02
Signed-off-by: default avatarLingutla Chandrasekhar <clingutla@codeaurora.org>
Signed-off-by: default avatarIsaac J. Manjarres <isaacm@codeaurora.org>
parent 6b72d6ea
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -100,6 +100,9 @@ void dump_stack_minidump(u64 sp)
	unsigned int stack_pages, i, copy_pages;
	u64 base_addr;

	if (is_idle_task(current))
		return;

	/*
	 * Since stacks are now allocated with vmalloc, the translation to
	 * physical address is not a simple linear transformation like it is