- Nov 10, 2015
-
-
Mitchel Humpherys authored
We're currently using a hard-coded value for vmemmap. This doesn't work anymore. Calculate its value dynamically the same way the kernel does it. Change-Id: If3e06007ab69c2ee91fefede770c2fb5ccb59fe3
-
Mitchel Humpherys authored
Aligning addresses is a handy thing to do when working with memory maps, etc. Add an `align' function to the bitops module for this purpose. Change-Id: I582e8c763119d13b718146f4ff837bfa75e9aa01
-
Mitchel Humpherys authored
It can be useful to look up the values of config items. Store a dictionary mapping config options to their values. Change-Id: I99f7615b2c5926558dfba100fa0c45b6e29ecdb5
-
Mitchel Humpherys authored
The pfn_offset variable in pfn_to_page_vmemmap is not used. Remove it. Change-Id: I9d8379916252c9fa5bef290378f802b82df86a35
-
Mitchel Humpherys authored
Currently, if cache dumping is not supported on a given target, we put up a traceback and error out. The traceback is ugly and not helpful. Catch the NotImplementedError and print a nicer message. Change-Id: I07d1e3a5b56b809135d41919bcc992931764a0af
-
- Nov 06, 2015
-
-
Sarangdhar Joshi authored
Follow exact naming conventions for the reserved fields to be consistent with other images. Change-Id: I5aef14ca34883de12cd734c18fdb15317461b535
-
- Oct 16, 2015
-
-
David Garibaldi authored
The debug_image_v2 module's usage of QTF to extract Ftrace log information currently relies on a single QTF server process, and communicates with that server process via a fixed port ID. Any other instances of the ramdump parser running in parallel will also use this same server and port ID, which presents a race condition if multiple instances attempt to parse QTF input files simultaneously. To deal with this problem, each ramdump parser instance must instead create and communicate with its own QTF server process via a unique port ID. Change-Id: Ic9c53003789dca229d1e2770d01aa15a702292a7
-
- Sep 26, 2015
-
-
Sarangdhar Joshi authored
In certain reset scenarios, Program Counter value is not retained across reset. Implement logic to approximate Program Counter based on other General Purpose Registers. This should help get the CPU context from crash dumps when original Program Counter value is NULL or invalid. Change-Id: Iacffc4103df1d482682bc7c1e6b83a55981ca78d
-
- Sep 08, 2015
-
-
Linux Build Service Account authored
-
- Sep 05, 2015
-
-
Linux Build Service Account authored
-
- Sep 04, 2015
-
-
Linux Build Service Account authored
-
- Sep 02, 2015
-
-
Mitchel Humpherys authored
Most new targets are now 64-bit. Make --64-bit the default and add a --32-bit option to force 32-bit parsing. Change-Id: I8b77b9851b714a4708bcd34c563a84119900fb07
-
Pranshu Gupta authored
Modified boards.py for 8064 automotive for enable board Change-Id: I4602c9a43f4af5d38e53c9a671ede9c1b60535c0
-
Xiaogang Cui authored
Add support for parsing voltage sensor data. Change-Id: I3fab2bbf099362c9d385626b4b48b68638c4e37e
-
Linux Build Service Account authored
-
- Sep 01, 2015
-
-
Amey Telawane authored
Presently auto-dump option finds DDR base addresses from statically defined per target meta data in boards.py. This leads to auto-dump feature fail on different targets, say with different DDR base and size. Add support to parse DDR base addresses from load.cmm, dump_info.txt or ramdump_msg.txt which ever is available in that order. Fall-back to conventional static populated data in boards.py if none of them is available. Change-Id: Ie4ac4f281e92c9b527de17fa665c9cd6c3d5d384
-
Gopi Krishna Nedanuri authored
There are a few variables being read with the wrong size accessor functions. Fix these. Change-Id: Id12fe14347442addc50e267240002ed416f48d49
-
- Aug 31, 2015
-
-
Sarangdhar Joshi authored
The ram_dump.kernel_version variable is defined as a list and incorrectly compared with tuple. This comparison always fails. Fix it by changing ram_dump.kernel_version variable to tuple. Change-Id: I12d4556693101fccfad795e5ea737b42e96acac7
-
- Aug 20, 2015
-
-
Sarangdhar Joshi authored
Ram dump parser does not support unwinding the stack for NON HLOS images. In certain cases, we get below exception when parser tries to dump the context for NON HLOS address. Check for NON HLOS address and return from the function without unwinding the frame pointer. Exception: Invalid stage 1 first- or second-level translation descriptor: (value: 0x0 {dtype[1:0]=>0x0}) addr: (value: 0x21812010 {base[47:12]=>0x21812, offset[11:3]=>0x2}) Change-Id: I6cacec18574737d0e8261ba1f39dfe2b9b302304
-
Sarangdhar Joshi authored
ftrace_event_call structure is changed on 3.18 kernel. This structure is used to dump formats.txt so that ftrace logs can be parsed. Fix the parser to honor new structure format. Change-Id: I26354a7048fe6d6180c24b95f840291d02ab2329
-
- Aug 15, 2015
-
-
Linux Build Service Account authored
-
- Aug 10, 2015
-
-
Gopi Krishna Nedanuri authored
Add support to print all schedule stats like last_arrival, last_queued, pcount, run_delay to a file per core. Files are sorted based on the last_arrival. Change-Id: If247ad393d861532872c4a31b206e8c1499de571
-
- Jul 11, 2015
-
-
Shashank Mittal authored
Add support to parse DCC captured data from crash dumps and produce human readable result. Change-Id: I898b404b074fc037e339bf535c27bf190619cc9d
-
Shashank Mittal authored
DCC (Data Capture and Compare) is a DMA engine which is used to save configuration data or system memory contents during catastrophic failure or SW trigger. This tool parses DCC captured binary dump to produce result in human readable form. This tool can generate output either in XML or JSON format. Change-Id: I6670874d7dc7795a53d00c08c6daa01b1f2896a5
-
- Jul 03, 2015
-
-
Linux Build Service Account authored
-
- Jul 01, 2015
-
-
Sarangdhar Joshi authored
Ram dump parser compares RT data structure list head location with first element in the list to determine whether list is empty. However it never checks for cycle in the list and runs forever in cases where cycle exists in the list. Fix this by tracking the elements seen and break the loop when cycle is found. Change-Id: I971c59b81bf340eddff6c8225aebb163af20aba8
-
- Jun 25, 2015
-
-
Mitchel Humpherys authored
We have the full-parsed kernel version available in RamDump.kernel_version now. There's no need for everyone to parse the string version individually now. Convert existing users over. Change-Id: I9ae182be2c638711dfd76c8949197bb86b75b2a1
-
Mitchel Humpherys authored
`major' is a bit of a misnomer, since the variable also includes the minor version and patch version. Rename it to `kernel_version'. Change-Id: Ic567131c7f12ab03c9dea2716242e9053c17372f
-
- Jun 19, 2015
-
-
Shashank Mittal authored
In 3.18 kernel there is a slight change in radix_tree_node structure. Fix irq parser to read radix_tree_node according to kernel version. Change-Id: Ib9e67d137994f4b7424acd2b44676dcdcdb2d0a4
-
- Jun 17, 2015
-
-
Linux Build Service Account authored
-
Linux Build Service Account authored
-
Linux Build Service Account authored
-
- Jun 15, 2015
-
-
Xiaogang Cui authored
Add support for detecting 8976 target and parsing the ramdumps. Change-Id: I6d61e3fb4ff036b9a0f32be42bf1fd46e8e872e2
-
- Jun 10, 2015
-
-
Sarangdhar Joshi authored
Add support to parse dmesg and workqueue output with 3.18 kernel Change-Id: If31d4e7512f9da8a9f14fc6814fe57aab05d978d
-
Se Wang (Patrick) Oh authored
Add support for detecting 8096 target and parsing the ramdumps. Change-Id: Id4e74ad063c87f4674db59c2ea65cb21bf76d972
-
- May 28, 2015
-
-
Shashank Mittal authored
'irq' in 'irq_data' and 'irq_count' in 'irq_desc' are of unsigned int (32 bit) type. Using ramdump's read_word returns 64 bit data on 64 bit target. Fix parser to use read_int function while reading irq number. Change-Id: I5382ea408066c2b123044a4f7612fd683da07256
-
- May 14, 2015
-
-
Karthik Parsha authored
The spm shadow registers are fixed and do not vary with the spm version number. Remove the version specific lists and correct the array list. Change-Id: Ib3d5897f18fea36ae3d5f0094ad450ae0ab596c2
-
- May 01, 2015
-
-
Patrick Daly authored
Validates redzone, padding, and poison markers for both allocated and free objects. Example output format: Poison overwritten INFO: 0xffffffc090546a30-0xffffffc090546a3f. First byte 0x0 instead of 0x6b INFO: Object 0xffffffc090546a00 @offset=%a00 fp=0xffffffc090546f00 Bytes b4 ffffffc0905469f0: 5a5a 5a5a 5a5a 5a5a 5a5a 5a5a 5a5a 5a5a ZZZZZZZZZZZZZZZZ Object ffffffc090546a00: 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b kkkkkkkkkkkkkkkk ffffffc090546a10: 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b kkkkkkkkkkkkkkkk ffffffc090546a20: 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b kkkkkkkkkkkkkkkk ffffffc090546a30: 006b 006b 600b 6b00 6b00 006b 6b00 6b00 .k.k`.k.k..kk.k. ffffffc090546a40: 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b kkkkkkkkkkkkkkkk ffffffc090546a50: 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b kkkkkkkkkkkkkkkk ffffffc090546a60: 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b kkkkkkkkkkkkkkkk ffffffc090546a70: 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b kkkkkkkkkkkkkkkk ffffffc090546a80: 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b kkkkkkkkkkkkkkkk ffffffc090546a90: 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b kkkkkkkkkkkkkkkk ffffffc090546aa0: 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b kkkkkkkkkkkkkkkk ffffffc090546ab0: 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b kkkkkkkkkkkkkkkk ffffffc090546ac0: 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b 6b6b kkkkkkkkkkkkkkkk ffffffc090546ad0: 6b6b 6b6b 6b6b 6ba5 kkkkkkk. Change-Id: I2f784188f6f6990b1d3399d79f7ab9ef635e4835
-
Patrick Daly authored
Create a class containing the commonly used fields from kmem_cache instead of extracting these fields from the ramdump once per slub object. Change-Id: I56b06b15d6dd7bcc3388943b6efeb00f0216ecb4
-
- Apr 30, 2015
-
-
Linux Build Service Account authored
-