[PATCH v1 0/5] tools/rtla: Improve argument processing

Costa Shulyupin posted 5 patches 2 months, 1 week ago
There is a newer version of this series
tools/tracing/rtla/src/osnoise_hist.c  | 74 +++++++++--------------
tools/tracing/rtla/src/osnoise_top.c   | 68 ++++++++-------------
tools/tracing/rtla/src/timerlat_hist.c | 82 ++++++++++----------------
tools/tracing/rtla/src/timerlat_top.c  | 76 +++++++++---------------
tools/tracing/rtla/src/timerlat_u.c    | 12 ++--
tools/tracing/rtla/src/utils.c         | 14 +++++
tools/tracing/rtla/src/utils.h         |  1 +
7 files changed, 127 insertions(+), 200 deletions(-)
[PATCH v1 0/5] tools/rtla: Improve argument processing
Posted by Costa Shulyupin 2 months, 1 week ago
The long-term goal of this patch series is to reduce code duplication
and unify argument display and parsing across all four tools.

Costa Shulyupin (5):
  tools/rtla: Add fatal() and replace error handling pattern
  tools/rtla: Replace timerlat_top_usage("...") with fatal("...")
  tools/rtla: Replace timerlat_hist_usage("...") with fatal("...")
  tools/rtla: Replace osnoise_hist_usage("...") with fatal("...")
  tools/rtla: Replace osnoise_top_usage("...") with fatal("...")

 tools/tracing/rtla/src/osnoise_hist.c  | 74 +++++++++--------------
 tools/tracing/rtla/src/osnoise_top.c   | 68 ++++++++-------------
 tools/tracing/rtla/src/timerlat_hist.c | 82 ++++++++++----------------
 tools/tracing/rtla/src/timerlat_top.c  | 76 +++++++++---------------
 tools/tracing/rtla/src/timerlat_u.c    | 12 ++--
 tools/tracing/rtla/src/utils.c         | 14 +++++
 tools/tracing/rtla/src/utils.h         |  1 +
 7 files changed, 127 insertions(+), 200 deletions(-)

-- 
2.51.0