Results 9 comments of yabinc

On which android version are you using the command? The function needs support of init script in https://cs.android.com/android/platform/superproject/+/master:system/extras/simpleperf/simpleperf.rc, which doesn't exist before android T. To help debug, can you upload...

I found riscv cpu pmu support in https://github.com/torvalds/linux/blob/master/drivers/perf/riscv_pmu_sbi.c#L78. It includes the most common hardware perf events like cpu-cycles, instructions, cache, and stall. They can be automatically supported in simpleperf. There...

Simpleperf doesn't support Json configuration files for each CPU core type. Instead, it adds all possible events in EVENT_TYPE_TABLE_ENTRY, and test if they are available at runtime. I feel now...

TSAN uses a TLS slot to store thread specific state. Bionic added that support in Android N as slot 8, but changed to slot 6 in Android Q. The tsan...

Sure! The plan is to handle three types of Java code separately: 1. For Fully compiled Java code (compiled into oat files), check whether we can get source line info...

In the objdumpdwarf.txt, I saw .debug_line section had file name and line number changes: `The File Name Table (offset 0x2d): Entry Dir Time Size Name 1 1 0 0 MainActivity.java...

Sorry for the late reply! To get disassembly for JIT code, we need to dump native instructions of JIT code from memory. Otherwise they are gone when the process exits....

Security doesn't allow profiling a release build apk freely on a user device. There are two ways to profile a release build apk: 1. Add `` in the app's manifest...

I think it's fine to modify SystemWideProfiler class in app_profiler.py to support your case "having su, but not adb root". It would be great if you'd like send a patch...