Tvrtko Ursulin aebf3b521b drm/i915/pmu: Do not use colons or dashes in PMU names
We use PCI device path in the registered PMU name in order to distinguish
between multiple GPUs. But since tools/perf reserves a special meaning to
dash and colon characters we need to transliterate them to something else.
We choose an underscore.

v2:
 * Use strreplace. (Chris)
 * Dashes are not good either. (Chris)

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reported-by: Dmitry Rogozhkin <dmitry.v.rogozhkin@intel.com>
Fixes: 05488673a4d4 ("drm/i915/pmu: Support multiple GPUs")
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20200110113253.12535-1-tvrtko.ursulin@linux.intel.com
2020-01-13 10:30:17 +00:00
..
2019-12-27 15:25:04 +10:00
2019-12-03 13:58:22 -08:00
2019-12-17 13:57:54 +01:00
2019-12-15 12:24:44 -08:00
2019-12-06 10:28:09 -08:00
2019-12-05 11:38:40 -08:00
2019-12-01 18:43:25 -08:00
2019-11-22 11:16:26 +05:30
2020-01-03 11:43:44 +10:00
2019-12-17 13:57:54 +01:00
2019-12-10 23:15:09 +01:00
2019-12-15 14:58:13 -08:00
2019-12-03 13:58:22 -08:00
2019-12-03 13:58:22 -08:00
2019-11-30 14:35:43 -08:00
2019-12-01 18:42:02 -08:00
2019-12-13 14:27:19 -08:00
2019-12-17 13:57:54 +01:00
2019-12-06 08:28:51 -08:00
2019-12-03 13:58:22 -08:00
2019-12-17 13:57:54 +01:00
2019-11-27 11:06:20 -08:00
2019-12-03 14:09:14 -08:00
2019-12-09 10:36:44 -08:00
2019-12-01 18:43:25 -08:00
2019-12-13 14:27:19 -08:00
2019-12-05 11:43:31 -08:00
2019-11-25 19:40:40 -08:00
2019-12-05 11:43:31 -08:00
2019-12-03 14:37:12 -08:00
2019-12-05 11:28:14 -08:00
2019-12-05 11:43:31 -08:00
2019-12-01 18:39:24 -08:00
2019-12-03 13:31:08 -08:00
2019-12-09 10:36:44 -08:00
2019-12-14 12:51:57 -08:00
2019-12-06 14:19:37 -08:00
2019-11-22 19:56:35 +00:00
2019-12-17 13:57:54 +01:00
2019-12-09 10:36:44 -08:00
2019-12-17 13:57:54 +01:00
2019-12-03 14:09:14 -08:00
2019-12-14 12:40:39 -08:00
2019-12-07 14:51:04 -08:00
2019-11-14 13:06:33 +08:00
2019-12-01 18:01:03 -08:00
2019-12-17 13:57:54 +01:00