Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
examples/perf/ipc: Use generic hardware events
The use of hardcoded raw events breaks compatibility as these are tied to specific processors. On other processors, it could also be the case that the raw event codes represent something completely different. Hence, use the generic events for cycles and instructions as these are available on most platforms with a core PMU. Fixes: 59a753d ("Add perf event data collection example for an userspace application") Signed-off-by: Sandipan Das <[email protected]>
- Loading branch information