Android - logger driver Help(Not sure if this is the right place)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi i want to know about event logs.. From this source i understood that event logs are in binary format. But how to read them? I mean i have the logger_entry structure pointer located inside memory. Using mmap, i am maping the pages to my address space and i am able to read the values inside the structure.. A field called msg contains the message of logcat and some other information as well. But for Event logs, the data is written in the binary format. From here, it is understood that the logs are somehow related to /system/etc/event-log-tags... My simple question is what is the format of the event log that is put inside the buffer?

Background : logger_entry is the structure that is used by logger driver to maintain the buffer. Its field tell us from wher to start and what is the size of the bugger, etc..

Purpose : i dont have android running on the system when i want to collect the logs. I am trying to collect the logs on system crash. On system crash a soft reboot occurs without resetting the ram, i am reading the complete ram and organizing different sections.


Best Regards,

Sandeep

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux