Skip to content

perf: Fix error return code

Shang XiaoJing linux-perf-users 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 0 repliesNew
  2. v18 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- adjust commit msg
- adjust subject
- discard one patch
- add fix msg

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7perf lock: Fix error return code in __cmd_contention()tools/perf/builtin-lock.c+7 -30 replies
2/7perf probe: Fix error return code in perf_del_probe_events()tools/perf/builtin-probe.c+6 -20 replies
3/7perf record: Fix error return code in cmd_record()tools/perf/builtin-record.c+3 -00 replies
4/7perf report: Fix error return code in cmd_report()tools/perf/builtin-report.c+4 -10 replies
5/7perf sched: Fix error return code in perf_sched__timehist()tools/perf/builtin-sched.c+1 -00 replies
6/7perf stat: Fix error return code in cmd_stat()tools/perf/builtin-stat.c+1 -00 replies
7/7perf trace: Fix error return code in trace__replay() and cmd_trace()tools/perf/builtin-trace.c+5 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/7] perf: Fix error return code

Set the error return code that has been assigned by previous function to the default value, which may caused by the patches insert function that assign to the error code and overwrites the default one.

changes in v2:
- adjust commit msg
- adjust subject
- discard one patch
- add fix msg

Shang XiaoJing (7):
perf lock: Fix error return code in __cmd_contention() perf probe: Fix error return code in perf_del_probe_events() perf record: Fix error return code in cmd_record()
perf report: Fix error return code in cmd_report()
perf sched: Fix error return code in perf_sched__timehist() perf stat: Fix error return code in cmd_stat()
perf trace: Fix error return code in trace__replay() and cmd_trace()

 tools/perf/builtin-lock.c   | 10 +++++++---
 tools/perf/builtin-probe.c  |  8 ++++++--
 tools/perf/builtin-record.c |  3 +++
 tools/perf/builtin-report.c |  5 ++++-
 tools/perf/builtin-sched.c  |  1 +
 tools/perf/builtin-stat.c   |  1 +
 tools/perf/builtin-trace.c  |  5 +++++
 7 files changed, 27 insertions(+), 6 deletions(-)
Signature · 1 line
2.17.1