All of lore.kernel.org
 help / color / mirror / Atom feed
From: varkabhadram@gmail.com (Varka Bhadram)
To: kernelnewbies@lists.kernelnewbies.org
Subject: about pr_debug
Date: Wed, 25 Jun 2014 12:18:30 +0530	[thread overview]
Message-ID: <53AA70BE.7050506@gmail.com> (raw)
In-Reply-To: <CA+5jrfk8gOgMOKiWxDHC4Yz4EE7Rdz6LLZhJAQCEKz67=rbyNg@mail.gmail.com>

refer this :https://www.kernel.org/doc/local/pr_debug.txt

On 06/25/2014 11:39 AM, lx wrote:
> hi all:
>        I'm confused with pr_debug. My codes is:
> ###########################################
> #include <linux/module.h>
> #include <linux/kernel.h>
>
> static int __init init_page_dir(void)
> {
>     pr_debug("Hello world\n");
>     return 0;
> }
>
> static void __exit exit_page_dir(void)
> {
>     pr_debug("\nGoodbye now...\n\n");
> }
>
> MODULE_LICENSE("GPL");
> module_init(init_page_dir);
> module_exit(exit_page_dir);
> ###########################################
> I make it, and insmod it. But the messages of "Hello world" don't show.
>
> So, My question is If i want to fix it , I should set the 
> /DEFAULT_MESSAGE_LOGLEVEL and /
> /rebuild the kernel ?/
>
> My kernel version is:2.6.18
> OS is: centOS
>
> Thank you.
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140625/af7d4414/attachment.html 

  parent reply	other threads:[~2014-06-25  6:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-25  6:09 about pr_debug lx
2014-06-25  6:34 ` Real Name
2014-06-25  6:48 ` Varka Bhadram [this message]
2014-06-25  8:20   ` Bjørn Mork
2014-06-25  9:47     ` lx
2014-06-25  9:50       ` Varka Bhadram
2014-06-25  9:57         ` lx
2014-06-25  6:55 ` anish singh
2014-06-25  7:38 ` Pranay Srivastava

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=53AA70BE.7050506@gmail.com \
    --to=varkabhadram@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.