inline keyword

2016-03-11 Thread Wenda Ni
ent in kernel system table, i.e., can not be found in /proc/kallsysms. Correct me if I am wrong. Cheers, Wenda Ni, Ph.D. ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Kernel symbol naming rules

2016-03-24 Thread Wenda Ni
you for sharing your thoughts. Cheers, Wenda Ni, Ph.D. ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

variant length array?

2016-04-05 Thread Wenda Ni
TES]; ... } Cheers, Wenda Ni, Ph.D. ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: variant length array?

2016-04-05 Thread Wenda Ni
On Tue, Apr 5, 2016 at 4:19 PM, wrote: > On Tue, 05 Apr 2016 15:29:25 -0400, Wenda Ni said: > > > I come across the following code in a kernel module code. > > > u32 rxe_icrc_hdr(struct rxe_pkt_info *pkt, struct sk_buff *skb) > > Is this an out-of-tree module, or an ol

free(), the size to free?

2016-05-25 Thread Wenda Ni
The prototype is void kfree(const void *). As the input pointer is void *, how does the kernel know the size of memory to be freed? There should be some metadata recorded under the hood, right? Thank you for sharing your thoughts. Cheers, Wenda Ni, Ph.D

Re: How old Linux Device Drivers 3 book is now?

2016-07-20 Thread Wenda Ni
Yes, off course. The basic principles are there. This does not change from kernel to kernel. Cheers, Wenda Ni, Ph.D. On Wed, Jul 20, 2016 at 10:32 AM, Fernando França < ferna...@desconstruindo.eng.br> wrote: > Hi everyone. > > I'm a totally fresh and newbie with kernel

kernel loglevel

2016-10-17 Thread Wenda Ni
ebug level messages either from dmesg or from /var/log/messages. I also tried echo 7 > /proc/sys/kernel/printk. It does not return what I expect, either. Let me know what I am missing. Thank you very much in advance. Cheers, Wenda Ni, Ph.D. ___ Kernelne

Re: kernel loglevel

2016-10-17 Thread Wenda Ni
Thank you so much, Thibaut. I have spotted the source-code logic in include/linux/prink.h Cheers, Wenda Ni, Ph.D. On Mon, Oct 17, 2016 at 7:41 PM, Thibaut SAUTEREAU < thibaut.sauter...@telecom-sudparis.eu> wrote: > On Mon, Oct 17, 2016 at 07:17:32PM -0400, Wenda Ni wrote: >> De

Re: kernel loglevel

2016-10-17 Thread Wenda Ni
Hi Joel, It works by specifying ccflags-y += -DDEBUG in the Makefile. Thank you for the info Cheers, Wenda Ni, Ph.D. On Mon, Oct 17, 2016 at 7:48 PM, Joel Fernandes wrote: > Hi Wenda, > > pr_debug needs you to define the DEBUG macro to activate it. > >