hi all: I use follow command for getting perf-opencsd-master. git clone -b perf-opencsd-master https://github.com/Linaro/OpenCSD.git perf-opencsd-master And git commit sha is 27ecd6f2b547 ("coresight: etr: Add barrier packet for synchronisation"). When I try to "make -C tools/perf", I get below compile error message: util/cs-etm-decoder/cs-etm-decoder.c:238:7: error: ‘OCSD_GEN_TRC_ELEM_SWTRACE’ undeclared (first use in this function) case OCSD_GEN_TRC_ELEM_SWTRACE: ^ util/cs-etm-decoder/cs-etm-decoder.c:238:7: note: each undeclared identifier is reported only once for each function it appears in util/cs-etm-decoder/cs-etm-decoder.c:239:7: error: ‘OCSD_GEN_TRC_ELEM_CUSTOM’ undeclared (first use in this function) case OCSD_GEN_TRC_ELEM_CUSTOM:
Then I try to grep "OCSD_GEN_TRC_ELEM_SWTRACE" both in perf-opencsd-master and opencsd/decoder directories, but get nothing. Did I use the wrong git repository or missing any environment setting?
Thanks for you kind help in advance,
On 25 July 2017 at 08:30, yoma sophian sophian.yoma@gmail.com wrote:
hi all: I use follow command for getting perf-opencsd-master. git clone -b perf-opencsd-master https://github.com/Linaro/OpenCSD.git perf-opencsd-master And git commit sha is 27ecd6f2b547 ("coresight: etr: Add barrier packet for synchronisation"). When I try to "make -C tools/perf", I get below compile error message: util/cs-etm-decoder/cs-etm-decoder.c:238:7: error: ‘OCSD_GEN_TRC_ELEM_SWTRACE’ undeclared (first use in this function) case OCSD_GEN_TRC_ELEM_SWTRACE: ^ util/cs-etm-decoder/cs-etm-decoder.c:238:7: note: each undeclared identifier is reported only once for each function it appears in util/cs-etm-decoder/cs-etm-decoder.c:239:7: error: ‘OCSD_GEN_TRC_ELEM_CUSTOM’ undeclared (first use in this function) case OCSD_GEN_TRC_ELEM_CUSTOM:
Get (and recompile) the latest revision of the openCSD library - that should do the trick.
Thanks, Mathieu
Then I try to grep "OCSD_GEN_TRC_ELEM_SWTRACE" both in perf-opencsd-master and opencsd/decoder directories, but get nothing. Did I use the wrong git repository or missing any environment setting?
Thanks for you kind help in advance, _______________________________________________ CoreSight mailing list CoreSight@lists.linaro.org https://lists.linaro.org/mailman/listinfo/coresight