- 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
-
Linux Build Service Account authored
-
- Apr 29, 2015
-
-
Linux Build Service Account authored
-
Linux Build Service Account authored
-
Linux Build Service Account authored
-
Linux Build Service Account authored
-
Linux Build Service Account authored
-
- Apr 25, 2015
-
-
Linux Build Service Account authored
-
- Apr 24, 2015
-
-
Monu Surana authored
Catch TypeError for data values to identify corruptions in timer list Change-Id: I7149fb31c8faacea06355417a3ceb7f531f44b0e Signed-off-by:
Monu Surana <msurana@codeaurora.org>
-
- Apr 23, 2015
-
-
Steven Cahail authored
Integrate the IPC Logging extraction script module into linux-ramdump-parser-v2. Move ipc_logging.py from into the linux-ramdump-parser-v2/parsers directory, and create a relative symbolic link in the original location. Add a new file, ipc_logging_ramparse.py, which performs the actual integration. Change-Id: If0db4f82814a644094af7ebd0e4290dd145f94ac
-
Patrick Daly authored
Separate code which iterates through all slab objects from code which is run for each object. Change-Id: Iac799627e4d4c5f80c624a330f66218f1bfd8bc1 Signed-off-by:
Patrick Daly <pdaly@codeaurora.org>
-
- Apr 21, 2015
-
-
Xiaogang Cui authored
Add support to parse DBGUI register dump in debug image and generate a txt file with DBGUI register information. Change-Id: I7771a470a67dbe7d84144a4c9c4da1c6287fd524
-
- Apr 20, 2015
-
-
Steven Cahail authored
The constructor currently used in ramparse.py to initialize the RamDump object has a very long argument list. This list can be shortened by passing the options object to the constructor, rather than enumerating every member of the options object as a separate argument. Pass the options object to the RamDump constructor instead of passing each member as a separate argument. Change-Id: I7cbf173232838dd8f9fdbdad0e2b7336ad8fc07b
-
Steven Cahail authored
It is necessary to allow the script to get included as a module by other scripts. Currently, the logging and output directory configuration are performed in the script's main function, and the options from parsing the command line are not passed from function to function. Create two new functions for the logging and output directory configuraiton, and pass the command-line options object to each function that uses it. This allows the options to be passed in from other scripts. Change-Id: Ibf34d72cd70620bcbcc00e48141a87a721b1f987
-
Steven Cahail authored
When processing a log page, the page header size depends on the size of internal structures and pointers that can vary with machine size (32-bit or 64-bit). This information is stored in the logging context during automated extraction (i.e. when the "parse" command is used), but in the "test" command only the log pages are provided, so the necessary information is not present. The correct page header size can be determined if the version of IPC Logging and the architecture size (32-bit or 64-bit) are known. Store the possible header sizes as module variables, modify the test command to accept the IPC Logging version, and modify the script to take an argument denoting if the logs are interpreted as 32-bit or 64-bit. In the "test" command, select the correct header size using the IPC Logging version and architecture size. Change-Id: I53ccdc7982b5cfd79dfb6c36d982037b3b2a3955
-
Steven Cahail authored
When parsing IPC logs, sometimes a bogus log page header is present which overwrites the bit used to discern whether or not the log page is version 0. This causes the script to read the version as being 1 or greater, and the script then asserts after failing to find a log context for the page. In general, header corruption like this may cause other issues that could lead to the context not being found, which currently aborts the script. Modify the script to continue parsing the logs as logs of an unknown version in this case. If the header is valid, the proper version will be parsed from it, allowing parsing to continue normally. Change-Id: I02ae617980f817705224b7b02926a9f576dd88e6
-
Linux Build Service Account authored
-
- Apr 11, 2015
-
-
Tingwei Zhang authored
Add support for detecting 8952 target and parsing the ramdumps. Change-Id: Ic7d41826325e38ad58791f0710e82cd7bbb0c325
-