HomeFreeBSD

Add a "device_index" label to all sysctls under dev.$driver.$index.

Description

Add a "device_index" label to all sysctls under dev.$driver.$index.

This way it becomes possible to graph a property for all instances of a
single driver. For example, graphing the number of packets across all
USB controllers, the amount of dropped packets on all NICs, etc.

Reviewed by: cem
Differential Revision: https://reviews.freebsd.org/D8775

Details