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

Commit 6f8a2a9a authored by Nick Desaulniers's avatar Nick Desaulniers Committed by Gerrit - the friendly Code Review server
Browse files

tracing: do not leak kernel addresses

This likely breaks tracing tools like trace-cmd.  It logs in the same
format but now addresses are all 0x0.

Bug: 34277115
Change-Id: Ifb0d4d2a184bf0d95726de05b1acee0287a375d9
Git-repo: https://android.googlesource.com/kernel/msm


Git-commit: 9ad8f2cc1bb73a3e2255dff4ee9c45c909869225
Signed-off-by: default avatarSrinivasa Rao Kuppala <srkupp@codeaurora.org>
Signed-off-by: default avatarDennis Cagle <dcagle@codeaurora.org>
parent 79376733
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -305,7 +305,7 @@ static int t_show(struct seq_file *m, void *v)
	if (!*fmt)
		return 0;

	seq_printf(m, "0x%lx : \"", *(unsigned long *)fmt);
	seq_printf(m, "0x%lx : \"", 0L);

	/*
	 * Tabs and new lines need to be converted.