Freehill Christopher-RAT063 <[email protected]> writes:
>
> Any info or suggestions are appreciated.

The perf model for this is to use bit fields in config/config1 and then
declare those in sysfs, so that they can be set as cpu/foo=1,bar=2/
The kernel driver then extracts those fields.

This only supports numerical values, not string enumerations.

You can see the Intel uncore drivers as a example doing this extensively.

-Andi

-- 
[email protected] -- Speaking for myself only
--
To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to