aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/compaction-times.py
diff options
context:
space:
mode:
authorJames Smart <[email protected]>2019-04-05 16:04:21 -0700
committerMartin K. Petersen <[email protected]>2019-04-08 21:29:16 -0400
commit2b1be55819dc7ae35576b3ba621c7fed0c323e04 (patch)
tree3966684d1738f49d5bde15f1fe1d9c401476a08a /tools/perf/scripts/python/compaction-times.py
parenta7dff3ad4787381a3aa831d558fb720b8f354435 (diff)
scsi: scsi_transport_fc: refactor event posting routines
There are two routines generating transport events that do the same thing with only a couple of values set differently. Refactor so there's a single routine doing the netlink operations to send the event. All the differences are passed as arguments. Export the symbol so the generic routine can be called by llds. Modify the existing two event routines to use the helper. Signed-off-by: James Smart <[email protected]> Reviewed-by: Ewan D. Milne <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions