Use redhat crash utility to get the ftrace log from ramdump

Source: Internet
Author: User

Use redhat crash utility to get the ftrace log from ramdump
I recently used the crash utility of redhat to parse the ftrace log of ramdump.
1. Download the crash utility source code from http://lele.redhat.com/andson/
2. cd crash; make target = ARM64 (set based on the chip type.

If the machine is not connected to the Internet, an error may occur. You can download the gdb-7.6.tar.gz package and put it under the crash directory.

3. makeextensions target = ARM64 compile the extend Library

4. sudo apt-get install trace-cmd (install trace-related tools)

5. crash vmlinux DDRCS0.BIN @ 0x40000000, DDRCS1.BIN @ 0x80000000
Run crash. Note that it must be a binfile. If there are multiple binfiles, separate them with commas. Address must be the physical address of the DDR bank.

6 extend trace. so


7. trace report (you can use help trace to view how to use the command)



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.