summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJames Smart <james.smart@broadcom.com>2020-10-17 00:28:38 +0300
committerChristoph Hellwig <hch@lst.de>2020-12-01 22:36:34 +0300
commit03d99e5d63dabe2c0cea0d8fe1cb89bde33f7939 (patch)
tree07f011f5af355adcaa8a557a643d291eda0cd1bb /tools/perf/scripts/python/export-to-sqlite.py
parent48332ff295878b3f4268782f25894dfa44b1f6c1 (diff)
downloadlinux-03d99e5d63dabe2c0cea0d8fe1cb89bde33f7939.tar.xz
nvme-fcloop: add sysfs attribute to inject command drop
Add sysfs attribute to specify parameters for dropping a command. The attribute takes a string of: <opcode>:<starting a what instance>:<number of times> Opcode is formatted as lower 8 bits are opcode. If a fabrics opcode, a bit above bits 7:0 will be set. Once set, each sqe is looked at. If the opcode matches the running instance count is updated. If the instance count is in the range of where to drop (based on starting and # of times), then drop the command by not passing it to the target layer. Signed-off-by: James Smart <james.smart@broadcom.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions