can't create lttng-modules

2015-08-03 Thread Jacob Gonik
Hi, In my work, i need to install lttng tracer to an embedded linux platform, with arm7 processor. I use bitbake files from an open embedded project. For the first time, i activated : # bitbake -c compile lttng-modules , and it fetches the source code. But when i make an entire project build,

Re: can't create lttng-modules

2015-08-03 Thread Valdis . Kletnieks
On Mon, 03 Aug 2015 18:34:05 +0300, Jacob Gonik said: For the first time, i activated : # bitbake -c compile lttng-modules , and it fetches the source code. I would like to have a clue or direction to solve this. Does the compile step produce any logs/output? Did you check the output for

Re: Newbie help

2015-08-03 Thread Anuz Pratap Singh Tomar
On Mon, Aug 3, 2015 at 3:38 PM, Rishabh Chakrabarti bassdevelo...@gmail.com wrote: Hello all, Where can I search the archives and other resources for answering the following questions: 1. How to dive into the code? i.e. entry points 2. What are the pre-requisites for understanding the

Newbie help

2015-08-03 Thread Rishabh Chakrabarti
Hello all, Where can I search the archives and other resources for answering the following questions: 1. How to dive into the code? i.e. entry points 2. What are the pre-requisites for understanding the whole code? 3. Best books and resource material Kindly keep a lay person in mind

RE: How can I locate a struct's defination?

2015-08-03 Thread Jeff Haran
-Original Message- From: kernelnewbies-boun...@kernelnewbies.org [mailto:kernelnewbies- boun...@kernelnewbies.org] On Behalf Of Navy Cheng Sent: Saturday, August 01, 2015 10:01 PM To: kernelnewbies@kernelnewbies.org Subject: How can I locate a struct's defination? Hi, I use emacs

Re: can't create lttng-modules

2015-08-03 Thread Jacob Gonik
Hi, Here i concentrated the relevant log messages concerning lttng-modules . Sorry for the little mess NOTE: Running task 936 of 2174 (ID: 1216, /lte/jacobgo/local_views/jacobgo_lttng_A42/vobs/le920/apps_proc/oe-core/meta-msm/recipes/update-modules/ update-modules_1.0.bb, do_fetch) NOTE:

Re: Is there any tool can format source code according to kernel coding rule?

2015-08-03 Thread Nan Xiao
Hi Chetan, Aruna, Rameshbabu, Daniel, Thanks very much for all your time and kind advices! Best Regards Nan Xiao On Mon, Aug 3, 2015 at 6:27 PM, Daniel Baluta daniel.bal...@gmail.com wrote: On Mon, Aug 3, 2015 at 6:35 AM, Nan Xiao xiaonan830...@gmail.com wrote: Hi all, I am just

Where does the linux kernel put local variables

2015-08-03 Thread Rock Lee
Hi, all: I print a local variable address in start_kernel(), and I realize this address is between __data_start and _edata. In my opinion, local variables should be located in stack, why is this local variable located in data section? BTW, I use a arm11 board with linux-2.6.28. Thanks

Re: Newbie help

2015-08-03 Thread Navy Cheng
I'm newbie too. I just want to share my experience for 3 or 4 weeks. 1. Maybe there are no entry point for kernel code. Too much knowlege are required. Do what you want and learing a subject which block you. 2. There are so many material in Documation/. 3. http://kernelnewbies.org/ is a good

Re: Is there any tool can format source code according to kernel coding rule?

2015-08-03 Thread Daniel Baluta
On Mon, Aug 3, 2015 at 6:35 AM, Nan Xiao xiaonan830...@gmail.com wrote: Hi all, I am just wondering whether there is a script/tool which format source code according to kernel coding rule automatically? Such as tab, space, brace, etc. Try scripts/Lindent from the kernel source tree.

Re: Is there any tool can format source code according to kernel coding rule?

2015-08-03 Thread Rameshbabu
Hi , There is a script in kernel source tree which used to check the code is in the proper coding style. But I don't about automatically changing code to specific coding style. The script name called checkpatch.pl present in kernel tree scripts/ directory. If you want to use this script.