aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests
diff options
context:
space:
mode:
authorKajol Jain <[email protected]>2022-02-25 20:00:22 +0530
committerDan Williams <[email protected]>2022-03-09 17:50:42 -0800
commit0fab1ba6ad6ba1f76380f92ead95c6e861ef8116 (patch)
tree7c982740ac42d7f9a230876e037e902e5cddf534 /tools/testing/selftests/bpf/prog_tests
parent9a61d0838cd0a81529badfba7bfa39e81d5529d3 (diff)
drivers/nvdimm: Add perf interface to expose nvdimm performance stats
A common interface is added to get performance stats reporting support for nvdimm devices. Added interface defines supported event list, config fields for the event attributes and their corresponding bit values which are exported via sysfs. Interface also added support for pmu register/unregister functions, cpu hotplug feature along with macros for handling events addition via sysfs. It adds attribute groups for format, cpumask and events to the pmu structure. User could use the standard perf tool to access perf events exposed via nvdimm pmu. [Declare pmu functions in nd.h file to resolve implicit-function-declaration warning and make hotplug function static as reported by kernel test robot] Acked-by: Peter Zijlstra (Intel) <[email protected]> Tested-by: Nageswara R Sastry <[email protected]> Signed-off-by: Kajol Jain <[email protected]> Link: https://lore.kernel.org/all/[email protected]/ Reported-by: kernel test robot <[email protected]> Reviewed-by: Madhavan Srinivasan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests')
0 files changed, 0 insertions, 0 deletions