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.
since we just determine 4.2 as our long term developing code base. It will be a quite difficult to just to 4.12 in this time. is there kernel version that is down closest to 4.2 and with cs_etm// event support?
BTW, is there any debug message or define in perfl can tell us whether a. cs_etm// lost b. wrong CSTRACE_PATH to cause perf record error? Since only from "nvalid or unsupported event: 'cs_etm/@f0106000.etf/'", we may hard to tell which one above is the key.
appreciate your kind suggestion