summaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-probe.c
diff options
context:
space:
mode:
authorMasami Hiramatsu <masami.hiramatsu.pt@hitachi.com>2010-10-21 19:13:29 +0900
committerArnaldo Carvalho de Melo <acme@redhat.com>2010-10-21 16:00:42 -0200
commitc82ec0a2bd7725a2d2ac3065d8cde13e1f717d3c (patch)
tree99564304062f864f1a9b38dd0e9af0ff43ddb0c9 /tools/perf/builtin-probe.c
parentcf6eb489e5c04c8f8d5fd7bf90b8346c987688bc (diff)
downloadop-kernel-dev-c82ec0a2bd7725a2d2ac3065d8cde13e1f717d3c.zip
op-kernel-dev-c82ec0a2bd7725a2d2ac3065d8cde13e1f717d3c.tar.gz
perf probe: Function style fix
Just change the order of function arguments for ease of read; moving optional bool flag to the last. Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Paul Mackerras <paulus@samba.org> Cc: Ingo Molnar <mingo@elte.hu> Cc: Frederic Weisbecker <fweisbec@gmail.com> LKML-Reference: <20101021101329.3542.51200.stgit@ltc236.sdl.hitachi.co.jp> Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-probe.c')
-rw-r--r--tools/perf/builtin-probe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/builtin-probe.c b/tools/perf/builtin-probe.c
index 91bb6cf..c777bec 100644
--- a/tools/perf/builtin-probe.c
+++ b/tools/perf/builtin-probe.c
@@ -305,8 +305,8 @@ int cmd_probe(int argc, const char **argv, const char *prefix __used)
if (params.nevents) {
ret = add_perf_probe_events(params.events, params.nevents,
- params.force_add,
- params.max_probe_points);
+ params.max_probe_points,
+ params.force_add);
if (ret < 0) {
pr_err(" Error: Failed to add events. (%d)\n", ret);
return ret;
OpenPOWER on IntegriCloud