perf top: fix typo in -d option
authorMike Galbraith <efault@gmx.de>
Tue, 26 May 2009 13:25:34 +0000 (15:25 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 26 May 2009 13:25:34 +0000 (15:25 +0200)
Clean up copy/paste options parsing conversion error.

[ Impact: reactivate -d option ]

Signed-off-by: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: John Kacur <jkacur@redhat.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Documentation/perf_counter/builtin-top.c

index cacaa3c..6b1c66f 100644 (file)
@@ -727,7 +727,7 @@ static const struct option options[] = {
                    "number of mmap data pages"),
        OPT_INTEGER('r', "realtime", &realtime_prio,
                    "collect data with this RT SCHED_FIFO priority"),
-       OPT_INTEGER('d', "delay", &realtime_prio,
+       OPT_INTEGER('d', "delay", &delay_secs,
                    "number of seconds to delay between refreshes"),
        OPT_BOOLEAN('D', "dump-symtab", &dump_symtab,
                            "dump the symbol table used for profiling"),