aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorVadim Pasternak <[email protected]>2016-11-16 15:20:45 +0100
committerDavid S. Miller <[email protected]>2016-11-16 23:29:04 -0500
commit4ebd00bc5ffc747f07fe23b1993adc9e6220ba2f (patch)
treea5bec95e14b2df8d69495c2af7901e06043d1511 /tools/perf/util/scripting-engines/trace-event-python.c
parent6882b0aee180f2797b8803bdf699aa45c2e5f2d6 (diff)
mlxsw: Invoke driver's init/fini methods only if defined
We are going to add a minimal driver on top of the mlxsw core infrastructure, which will be mainly used for hardware monitoring in Baseboard management controller (BMC) installations. Unlike the switch drivers (e.g., spectrum, switchx2), this driver does not initialize the ASIC and therefore doesn't need to implement the init() and fini() methods in its 'mlxsw_driver' struct. Signed-off-by: Vadim Pasternak <[email protected]> Reviewed-by: Ido Schimmel <[email protected]> Signed-off-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions