Hi,
I want to enable Cortex A8 performance counter. After I enable it in Linux kernel, the register reading in user mode does not change with reading is always '1'. In disassembly window, I check the user mode register read process. It has this content:
78 | asm volatile ("MRC p15, 0, %0, c9, c14, 0\t\n": "=r"(value)); |
0x00008c28: mrc\t15, 0, r3, cr9, cr14, {0}
This GDB debugger tool is from TI CCS v5.5.0, Ubuntu 12.04, 32 bit OS. I know that it has extra '\t' in disassembly code, but I am not sure other changes in the disassembly line, such as 'cr9', 'p15' to '15' etc. Do you have such experience?
Thanks,