Though I am not sure about your need....but a simple solution which I can think of is
dmesg > file.log (or >> for appending) read the file.log from your app. Now, how frequent you need to do dmesg>file.log, that's totally depends on your need. I mean this way you can at least read printk() messeges. regards, Tirtha On Wed, Mar 24, 2010 at 9:29 AM, Chris Stratton <cs07...@gmail.com> wrote: > You really want to be looking at generic linux kernel hacking guides as > these arent really android specific questions. > > You might want to research how the dmesg command works, too. > > On Mar 23, 2010 11:38 PM, "perumal316" <perumal...@gmail.com> wrote: > > Hi, > > I have come up with a kernel module doing monitoring of system calls > and will printk messages. Now I want to show these messages to user > through an application. > > I can write an application to read from file but not from "/proc/kmsg" > where the printk messages are stored. > > So I think either there is a way to show "/proc/kmsg' or have to write > the printk messages to a file then read from it. > > Regards, > Perumal > > > > On Mar 24, 11:29 am, Greg KH <gre...@gmail.com> wrote: > > > On Tue, Mar 23, 2010 at 8:21 PM, perumal316 <perumal...@gmail.com> > wrote: > > > Hi All, > > > > > I want... > > -- > unsubscribe: > android-kernel+unsubscr...@googlegroups.com<android-kernel%2bunsubscr...@googlegroups.com> > website: http://groups.google.com/group/android-kernel > > To unsubscribe from this group, send email to android-kernel+ > unsubscribegooglegroups.com or reply to this email with the words "REMOVE > ME" as the subject. > -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel To unsubscribe from this group, send email to android-kernel+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.