Re: How to unwind stack to seek for specific caller?

2018-08-03 Thread valdis . kletnieks
On Fri, 03 Aug 2018 15:14:45 +0300, Lev Olshvang said: > But I need to find out whether my function y() was called from linux kernel > function x().\ What problem are you trying to solve? If it's your function, don't you already *know* which functions call it? And if being called from code A

How to unwind stack to seek for specific caller?

2018-08-03 Thread Lev Olshvang
Hello all I know that I can print stack of function using dump_stack() But I need to find out whether my function y() was called from linux kernel function x().\ I see that kmsg_dump_get_buffer() function can get kernel messages but it is not clear for me should I use it bedore calling

Re: First patch

2018-08-03 Thread valdis . kletnieks
On Thu, 02 Aug 2018 23:49:03 +0200, Arkadiusz Lis said: > From 231fa77d595536cdaacf364b02dd64fd45a6adc4 Mon Sep 17 00:00:00 2001 > From: Arkadiusz Lis > Date: Thu, 2 Aug 2018 23:38:17 +0200 > Subject: [PATCH] Staging: One Laptop Per Child: fix coding style and license > issues One thing per