]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
perf/x86/intel/uncore: Remove extra double quote mark
authorZide Chen <zide.chen@intel.com>
Fri, 13 Mar 2026 17:40:50 +0000 (10:40 -0700)
committerPeter Zijlstra <peterz@infradead.org>
Tue, 7 Apr 2026 07:05:30 +0000 (09:05 +0200)
commit16bcbe6738bea7b4aee0a29324ce12c21c4b0ea0
treee6e9371590b2c4a9fb0b33f1c8d7ec61012f647e
parenta16d1ec4dd0cdcf689f324adde6067083bce9099
perf/x86/intel/uncore: Remove extra double quote mark

The third argument in INTEL_UNCORE_FR_EVENT_DESC() is subject to
__stringify(), and the extra double quote marks can result in the
expansion "3.814697266e-6" in the sysfs knobs, instead of
3.814697266e-6.

This is incorrect, though it may still work for perf, e.g.
perf stat -e uncore_iio_free_running_0/bw_in_port0/

Fixes: d8987048f665 ("perf/x86/intel/uncore: Support IIO free-running counters on DMR")
Closes: https://lore.kernel.org/all/20251231224233.113839-1-zide.chen@intel.com/
Reported-by: Chun-Tse Shao <ctshao@google.com>
Signed-off-by: Zide Chen <zide.chen@intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Chun-Tse Shao <ctshao@google.com>
Reviewed-by: Dapeng Mi <dapeng1.mi@linux.intel.com>
Link: https://patch.msgid.link/20260313174050.171704-5-zide.chen@intel.com
arch/x86/events/intel/uncore_snbep.c