linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/8] perf: Fix error return code
@ 2022-09-16  2:56 Shang XiaoJing
  2022-09-16  2:56 ` [PATCH 1/8] perf c2c: Fix error return code in perf_c2c__report Shang XiaoJing
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Shang XiaoJing @ 2022-09-16  2:56 UTC (permalink / raw)
  To: peterz, mingo, acme, mark.rutland, alexander.shishkin, jolsa,
	namhyung, linux-perf-users
  Cc: shangxiaojing

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.

Shang XiaoJing (8):
  perf c2c: Fix error return code in perf_c2c__report
  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-c2c.c    |  5 ++++-
 tools/perf/builtin-lock.c   | 10 +++++++---
 tools/perf/builtin-probe.c  |  8 ++++++--
 tools/perf/builtin-record.c |  3 +++
 tools/perf/builtin-report.c |  6 +++++-
 tools/perf/builtin-sched.c  |  1 +
 tools/perf/builtin-stat.c   |  9 +++++++--
 tools/perf/builtin-trace.c  |  5 +++++
 tools/perf/util/cgroup.c    |  2 +-
 9 files changed, 39 insertions(+), 10 deletions(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-09-16  2:22 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-16  2:56 [PATCH 0/8] perf: Fix error return code Shang XiaoJing
2022-09-16  2:56 ` [PATCH 1/8] perf c2c: Fix error return code in perf_c2c__report Shang XiaoJing
2022-09-16  2:56 ` [PATCH 2/8] perf lock: Fix error return code in __cmd_contention Shang XiaoJing
2022-09-16  2:56 ` [PATCH 3/8] perf probe: Fix error return code in perf_del_probe_events Shang XiaoJing
2022-09-16  2:56 ` [PATCH 4/8] perf record: Fix error return code in cmd_record Shang XiaoJing
2022-09-16  2:56 ` [PATCH 5/8] perf report: Fix error return code in cmd_report Shang XiaoJing
2022-09-16  2:56 ` [PATCH 6/8] perf sched: Fix error return code in perf_sched__timehist Shang XiaoJing
2022-09-16  2:56 ` [PATCH 7/8] perf stat: Fix error return code in cmd_stat Shang XiaoJing
2022-09-16  2:56 ` [PATCH 8/8] perf trace: Fix error return code in trace__replay and cmd_trace Shang XiaoJing

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).