]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
perf report: Fix -z option
authorAnton Blanchard <anton@samba.org>
Tue, 30 Jun 2009 23:00:44 +0000 (09:00 +1000)
committerIngo Molnar <mingo@elte.hu>
Tue, 30 Jun 2009 23:25:18 +0000 (01:25 +0200)
Fix a copy and paste error, -z was setting the group option.

Signed-off-by: Anton Blanchard <anton@samba.org>
Cc: a.p.zijlstra@chello.nl
Cc: paulus@samba.org
LKML-Reference: <20090630230140.714204656@samba.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/builtin-top.c

index cf0d21f1ae10e8917809519942b010cdf8d6d64a..5c2965562c5d7fe87bb08d61a1e8751b70bf01b5 100644 (file)
@@ -675,7 +675,7 @@ static const struct option options[] = {
                            "put the counters into a counter group"),
        OPT_STRING('s', "sym-filter", &sym_filter, "pattern",
                    "only display symbols matchig this pattern"),
-       OPT_BOOLEAN('z', "zero", &group,
+       OPT_BOOLEAN('z', "zero", &zero,
                    "zero history across updates"),
        OPT_INTEGER('F', "freq", &freq,
                    "profile at this frequency"),