Hello all,

I'm interesting in obtaining perf.data files recorded on a different ARM boards.
For those who has no ideas about what is it, you may take a quick look at
https://perf.wiki.kernel.org/index.php/Main_Page. If you're able to use
apt-get or other ways to install a few packages on your board, you can help.
I also prepared two perf binaries (hard- and soft-float) - if one of these
matches your system, the whole procedure takes just a few minutes.

1. Make sure your kernel has tracing subsystem enabled:
   a) zcat /proc/config.gz and look for CONFIG_PERF_EVENTS=y, or
   b) check whether /sys/kernel/debug/tracing/events directory exists.

2. Install a few required packages:
   apt-get install libelf1 libdw1 liblzma5 binutils libbz2-1.0 zlib1g

3. Select an appropriate perf binary:
   a) soft-float from http://78.153.153.8/tmp/arm-linux-gnueabi-perf.gz or
   b) hard-float from http://78.153.153.8/tmp/arm-linux-gnueabihf-perf.gz
   and use ldd to check whether all runtime dependencies are resolved.

4. Run (this is one line):
   perf record -a -R -f -m 8192 -c 1 -e sched:sched_switch -e 
sched:sched_process_exit \
        -e sched:sched_process_fork -e sched:sched_wakeup -e 
sched:sched_migrate_task ls -la /
   and make sure perf.data is created.

5. Run:
   perf report --stdio
   and save an output.

6. Send perf.data and output from step 5) to me, by e-mail directly or via 
pastebin;
   don't forget to mention your board type.

Thanks in advance,
Dmitry

_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to