perf events: Add generic front-end and back-end stalled cycle event definitions
[firefly-linux-kernel-4.4.55.git] / include / linux / perf_event.h
index ac636dd20a0c3224763a1c7e8a640bdd7aaa74f0..4e2d7ae714995659ad5877c4df851c0942df44d5 100644 (file)
@@ -52,7 +52,8 @@ enum perf_hw_id {
        PERF_COUNT_HW_BRANCH_INSTRUCTIONS       = 4,
        PERF_COUNT_HW_BRANCH_MISSES             = 5,
        PERF_COUNT_HW_BUS_CYCLES                = 6,
-       PERF_COUNT_HW_STALLED_CYCLES            = 7,
+       PERF_COUNT_HW_STALLED_CYCLES_FRONTEND   = 7,
+       PERF_COUNT_HW_STALLED_CYCLES_BACKEND    = 8,
 
        PERF_COUNT_HW_MAX,                      /* non-ABI */
 };