diff options
author | Jason Gunthorpe <jgg@mellanox.com> | 2018-01-29 15:26:40 -0500 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-01-30 11:30:00 -0500 |
commit | e7996a9a77fc669387da43ff4823b91cc4872bd0 (patch) | |
tree | 617f0a128e222539d67e8cccc359f1bc4b984900 /tools/perf/builtin-help.c | |
parent | b5fa635aab8f0d39a824c01991266a6d06f007fb (diff) | |
parent | d8a5b80568a9cb66810e75b182018e9edb68e8ff (diff) |
Merge tag v4.15 of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
To resolve conflicts in:
drivers/infiniband/hw/mlx5/main.c
drivers/infiniband/hw/mlx5/qp.c
From patches merged into the -rc cycle. The conflict resolution matches
what linux-next has been carrying.
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/builtin-help.c')
-rw-r--r-- | tools/perf/builtin-help.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/builtin-help.c b/tools/perf/builtin-help.c index bd1fedef3d1c..a0f7ed2b869b 100644 --- a/tools/perf/builtin-help.c +++ b/tools/perf/builtin-help.c | |||
@@ -284,7 +284,7 @@ static int perf_help_config(const char *var, const char *value, void *cb) | |||
284 | add_man_viewer(value); | 284 | add_man_viewer(value); |
285 | return 0; | 285 | return 0; |
286 | } | 286 | } |
287 | if (!strstarts(var, "man.")) | 287 | if (strstarts(var, "man.")) |
288 | return add_man_viewer_info(var, value); | 288 | return add_man_viewer_info(var, value); |
289 | 289 | ||
290 | return 0; | 290 | return 0; |
@@ -314,7 +314,7 @@ static const char *cmd_to_page(const char *perf_cmd) | |||
314 | 314 | ||
315 | if (!perf_cmd) | 315 | if (!perf_cmd) |
316 | return "perf"; | 316 | return "perf"; |
317 | else if (!strstarts(perf_cmd, "perf")) | 317 | else if (strstarts(perf_cmd, "perf")) |
318 | return perf_cmd; | 318 | return perf_cmd; |
319 | 319 | ||
320 | return asprintf(&s, "perf-%s", perf_cmd) < 0 ? NULL : s; | 320 | return asprintf(&s, "perf-%s", perf_cmd) < 0 ? NULL : s; |