aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorDongli Zhang <[email protected]>2020-05-25 21:21:18 -0700
committerChristoph Hellwig <[email protected]>2020-07-08 16:16:17 +0200
commitca8f4beebfb4979acb664e02365ef6e662ef95b0 (patch)
tree243b384595d73287efe7ba5afd09b44c9f737666 /tools/perf/scripts/python/syscall-counts-by-pid.py
parenta0f0dbaa6986d6777a4a6835ec91616d5c75ac25 (diff)
nvme-fcloop: verify wwnn and wwpn format
The nvme host and target verify the wwnn and wwpn format via nvme_fc_parse_traddr(). For instance, it is required that the length of wwnn to be either 21 ("nn-0x") or 19 (nn-). Add this verification to nvme-fcloop so that the input should always be in hex and the length of input should always be 18. Otherwise, the user may use e.g. 0x2 to create fcloop local port, while 0x0000000000000002 is required for nvme host and target. This makes the requirement of format confusing. Signed-off-by: Dongli Zhang <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]> Reviewed-by: James Smart <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions