]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf: imx_perf: add macro definitions for parsing config attr
authorXu Yang <xu.yang_2@nxp.com>
Wed, 29 May 2024 08:03:52 +0000 (16:03 +0800)
committerWill Deacon <will@kernel.org>
Mon, 1 Jul 2024 14:42:59 +0000 (15:42 +0100)
commit4773dd10fda0e12a08a231d2fb773646817da343
treea6c7075b023cd001607b1be8e4e45e2df5177cf5
parentf26f374824573706a3f3264d54fd17d1e161cab4
perf: imx_perf: add macro definitions for parsing config attr

The user can set event and counter in cmdline and the driver need to parse
it using 'config' attr value. This will add macro definitions to avoid
hard-code in driver.

Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Xu Yang <xu.yang_2@nxp.com>
Link: https://lore.kernel.org/r/20240529080358.703784-2-xu.yang_2@nxp.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/perf/fsl_imx9_ddr_perf.c