From: Joe Lawrence <joe.lawrence@redhat.com>
To: linux-kernel@vger.kernel.org, live-patching@vger.kernel.org,
x86@kernel.org
Cc: Jiri Slaby <jslaby@suse.cz>, Josh Poimboeuf <jpoimboe@redhat.com>
Subject: [PATCH] x86/stacktrace: export save_stack_trace_tsk_reliable
Date: Wed, 27 Feb 2019 16:17:48 -0500 [thread overview]
Message-ID: <20190227211748.9545-1-joe.lawrence@redhat.com> (raw)
The ppc64le implementation of save_stack_trace_tsk_reliable() is
exported, so do the same with x86.
Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com>
---
arch/x86/kernel/stacktrace.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/x86/kernel/stacktrace.c b/arch/x86/kernel/stacktrace.c
index 5c2d71a1dc06..ad9b38dabf6a 100644
We could do the inverse and remove the symbol export from
arch/powerpc/kernel/stacktrace.c, but I figured the other
save_stack_trace_tsk variants are already exported for both
arches, so add this one, too. -- JL
--- a/arch/x86/kernel/stacktrace.c
+++ b/arch/x86/kernel/stacktrace.c
@@ -163,6 +163,7 @@ int save_stack_trace_tsk_reliable(struct task_struct *tsk,
return ret;
}
+EXPORT_SYMBOL_GPL(save_stack_trace_tsk_reliable);
#endif /* CONFIG_HAVE_RELIABLE_STACKTRACE */
/* Userspace stacktrace - based on kernel/trace/trace_sysprof.c */
--
2.20.1
next reply other threads:[~2019-02-27 21:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-27 21:17 Joe Lawrence [this message]
2019-02-27 21:31 ` Thomas Gleixner
2019-02-27 22:25 ` Joe Lawrence
2019-02-27 23:20 ` Joe Lawrence
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190227211748.9545-1-joe.lawrence@redhat.com \
--to=joe.lawrence@redhat.com \
--cc=jpoimboe@redhat.com \
--cc=jslaby@suse.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=live-patching@vger.kernel.org \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®