summaryrefslogtreecommitdiff
path: root/tools/perf/util/probe-event.c
diff options
context:
space:
mode:
authorMasami Hiramatsu <masami.hiramatsu.pt@hitachi.com>2010-10-21 14:13:29 +0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2010-10-21 22:00:42 +0400
commitc82ec0a2bd7725a2d2ac3065d8cde13e1f717d3c (patch)
tree99564304062f864f1a9b38dd0e9af0ff43ddb0c9 /tools/perf/util/probe-event.c
parentcf6eb489e5c04c8f8d5fd7bf90b8346c987688bc (diff)
downloadlinux-c82ec0a2bd7725a2d2ac3065d8cde13e1f717d3c.tar.xz
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/util/probe-event.c')
-rw-r--r--tools/perf/util/probe-event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/probe-event.c b/tools/perf/util/probe-event.c
index 288ebe8279d2..83192a59f02a 100644
--- a/tools/perf/util/probe-event.c
+++ b/tools/perf/util/probe-event.c
@@ -1668,7 +1668,7 @@ struct __event_package {
};
int add_perf_probe_events(struct perf_probe_event *pevs, int npevs,
- bool force_add, int max_tevs)
+ int max_tevs, bool force_add)
{
int i, j, ret;
struct __event_package *pkgs;