Hi Yoma,
On 10 August 2017 at 07:50, yoma sophian sophian.yoma@gmail.com wrote:
hi Mike:
You do not have the cs_etm// event listed in your version of perf - which indicates that you have not built a version that has the correct updates to work with OpenCSD. You say you are building a 4.2 kernel - this does not have the additional patches required. I recommend using latest stable one based on the 4.12 kernel - this is the perf-opencsd-4.12 branch in the OpenCSD github project, which will work correctly with the latest OpenCSD libary. These branches contain additional patches not yet upstreamed that build perf versions that work with the OpenCSD library.
Sorry for not describing my environment more clearer. I use below kenel git tree with tag 4.2 instead of OpenCSD git tree. https://github.com/torvalds/linux
if so, from the below branch names, it seems the oldest kernel version in OpenCSD-git-hub is 4.5.
The OpenCSD patches here @4.5 are not the same set of patches applied to perf-opencsd-4.12 or perf-opencsd-master. Each of the perf-opencsd-4.xx branches is a snapshot of the development as it was at that time. The patches currently applied to perf-opencsd-master include many buxfixes, enhancements and changes that have occurred since the 4.5 branch was developed, and my omit some enhancements and bugfixes that have subsequently been upstreamed.
We do not backport the latest changes to earlier kernel versions.
Regards
Mike
Why you mentioned, this does not have the additional patches required for 4.2? Please correct me, if I am wrong. Appreciate your kind help,
======================================== remotes/origin/perf-opencsd-4.10 remotes/origin/perf-opencsd-4.11 remotes/origin/perf-opencsd-4.12 remotes/origin/perf-opencsd-4.5 remotes/origin/perf-opencsd-4.5-rc6-bkk16 remotes/origin/perf-opencsd-4.6 remotes/origin/perf-opencsd-4.7 remotes/origin/perf-opencsd-4.8 remotes/origin/perf-opencsd-4.9 =========================================