diff options
author | Heinz Mauelshagen <heinzm@redhat.com> | 2016-05-19 18:49:26 +0200 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2016-06-13 14:40:24 -0400 |
commit | 702108d194e3649f69afcd2661282a0157c71e54 (patch) | |
tree | 56375c6cf68542bced7ae7086fc0326c76f74ba1 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 92c83d79b07ec1c53e0c74b8a7988799e00856db (diff) |
dm raid: cleanup / provide infrastructure
Provide necessary infrastructure to handle ctr flags and their names
and cleanup setting ti->error:
- comment constructor flags
- introduce constructor flag manipulation
- introduce ti_error_*() functions to simplify
setting the error message (use in other targets?)
- introduce array to hold ctr flag <-> flag name mapping
- introduce argument name by flag functions for that array
- use those functions throughout the ctr call path
Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions