aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorLeon Romanovsky <[email protected]>2018-02-21 18:12:33 +0200
committerDoug Ledford <[email protected]>2018-02-22 22:29:11 -0500
commita6c4a66ae923eb780ef693a6841cbff7a025cbf9 (patch)
tree0c7b772a111cb0a8aaecdbe40fa260a794bee170 /tools/perf/scripts/python/bin/stackcollapse-record
parent08f0e161636d940ff6c8f78863ce62361291e74b (diff)
RDMA/uverbs: Refactor flags checks and update return value
Since commit f21519b23c1b ("IB/core: extended command: an improved infrastructure for uverbs commands"), the uverbs supports extra flags as an input to the command interface. However actually, there is only one flag available and used, so it is better to refactor the code, so the resolution and report to the users is done as early as possible. As part of this change, we changed the return value of failure case from ENOSYS to be EINVAL to be consistent with the rest flags checks. Signed-off-by: Leon Romanovsky <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions