aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorDavid Kozub <zub@linux.fjfi.cvut.cz>2019-02-14 01:16:00 +0100
committerJens Axboe <axboe@kernel.dk>2019-04-06 11:09:12 -0600
commitb68f09ecdeaa7d59397429cb95aa83f02b9bd107 (patch)
treecdfda946e4e8bcb35b2fd8db2b3cf5b672cc85e3 /tools/perf/scripts/python/export-to-sqlite.py
parent7d9b62ae2a7db6dfa218999b7dd65517a6f9cfb7 (diff)
block: sed-opal: reuse response_get_token to decrease code duplication
response_get_token had already been in place, its functionality had been duplicated within response_get_{u64,bytestring} with the same error handling. Unify the handling by reusing response_get_token within the other functions. Co-authored-by: Jonas Rabenstein <jonas.rabenstein@studium.uni-erlangen.de> Signed-off-by: David Kozub <zub@linux.fjfi.cvut.cz> Signed-off-by: Jonas Rabenstein <jonas.rabenstein@studium.uni-erlangen.de> Reviewed-by: Scott Bauer <sbauer@plzdonthack.me> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Jon Derrick <jonathan.derrick@intel.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions