Trace32 Basic Operation Based on Qualcomm Platform

Trace32 Basic Operation Based on Qualcomm Platform

Monday, Nov 16, 2020

@ Aeric

Trace32 basic operation based on Qualcomm platform Useful Command do coreX_reg.cmm // load cmm files d.dump $ADDRESS // View memory address of $ADDRESS d.l $ADDRESS // Show the assembly code of $ADDRESS v.f // View Stack Frame r.View // Register view y.SourcePATH.SetRecurseDir // Set source code path Refer https://www2.lauterbach.com/pdf/commandlist.pdf for more detail Analysis Step Review files(RAMOOPS.bin, RAMDUMP_MSG.txt, dmesg_tz.txt, etc) to determine if need T32. Find matched vmlinux and using ramdump parser.
Example of Dynamic Loadable Kernel Module in Android

Example of Dynamic Loadable Kernel Module in Android

Monday, Nov 16, 2020

@ Aeric

Example of dynamic loadable Kernel module in Android What is kernel module Mostly use on driver or hardware related Different to userspace process Reducing linux kernel, makes linux more flexible Customize specific functionally system kernel module fundamental knowledge Command > lsmod --> List current kernel module (or $ cat /proc/modules) > insmod ${XXX.ko} --> Load XXX.ko > rmmod ${XXX.ko} --> Remove XXXX.ko Coding Include init and exit func at least Must #include <linux/module.

About Me

Hi, my name is Aeric

This is my blog.