intel_pmu plugin: fix for PR comments
authorKamil Wiatrowski <kamilx.wiatrowski@intel.com>
Thu, 17 May 2018 14:15:24 +0000 (15:15 +0100)
committerKamil Wiatrowski <kamilx.wiatrowski@intel.com>
Fri, 18 May 2018 11:25:51 +0000 (12:25 +0100)
commit94d47feb8c5ffd017213b10206806e418a05dd7b
treeae4afd390a2e014be9719e377fa1cb4fb5283ab3
parent4dba7ed767e7cf6308b22dbaac575c64579f4f31
intel_pmu plugin: fix for PR comments

Check for failure from snprintf.
Make cgroup and event const in pmu_submit_counter.

Change-Id: I5547375da26c3a63b76588b733e844e3199e9bb8
Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
src/intel_pmu.c