[PATCH 4.14 192/239] coresight: perf: Fix per cpu path management