From mboxrd@z Thu Jan 1 00:00:00 1970 From: greg@kroah.com (Greg KH) Date: Wed, 22 Feb 2017 15:59:57 +0100 Subject: How to dump user space stack from kernel space In-Reply-To: <885421236.1729095.1487689770585@mail.yahoo.com> References: <885421236.1729095.1487689770585.ref@mail.yahoo.com> <885421236.1729095.1487689770585@mail.yahoo.com> Message-ID: <20170222145957.GA17674@kroah.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Tue, Feb 21, 2017 at 03:09:30PM +0000, Abhay Koralli wrote: > Hi, > > We want to get the user space stack trace from the kernel space. Is there any > easy way to dump the same ? What exact problem are you trying to solve that getting a random userspace callstack is needed from within the kernel? thanks, greg k-h