andreasgal/B2G — Issue #213: dynamically switch on oprofile events supported by kerenl in Makefile
Author: changyihsin
Created: 2012-03-09 02:16:59+00:00
State: open

We need to use "make op_setup" command in Makfile to setup oprofile before profiling the target device. However, different platforms may support different hardware events. We use the keyword "GONK" to identify different platform and setup different hardware events. It's better to unify these branches and dynamically switch on correct events.