perf_counter tools: Define separate declarations for H/W and S/W events