diff options
| author | Jason Gunthorpe <[email protected]> | 2021-06-11 19:00:29 +0300 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2021-06-16 20:58:31 -0300 |
| commit | 526a12c8c56e80930621cedcf8b5f2fc3a169037 (patch) | |
| tree | a9ea05d0b37a4abbaea3bee53a659f8229874e95 /tools/perf/scripts/python | |
| parent | 054239f45c6346025afe252fe6f470a4093f61f9 (diff) | |
RDMA/cm: Use an attribute_group on the ib_port_attribute intead of kobj's
This code is trying to attach a list of counters grouped into 4 groups to
the ib_port sysfs. Instead of creating a bunch of kobjects simply express
everything naturally as an ib_port_attribute and add a single
attribute_groups list.
Remove all the naked kobject manipulations.
Link: https://lore.kernel.org/r/0d5a7241ee0fe66622de04fcbaafaf6a791d5c7c.1623427137.git.leonro@nvidia.com
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions