perf top: Allow disabling the overwrite mode
[linux-2.6-microblaze.git] / tools / perf / builtin-top.c
index d21d875..214fad7 100644 (file)
@@ -1372,6 +1372,8 @@ int cmd_top(int argc, const char **argv)
                    "Show raw trace event output (do not use print fmt or plugins)"),
        OPT_BOOLEAN(0, "hierarchy", &symbol_conf.report_hierarchy,
                    "Show entries in a hierarchy"),
+       OPT_BOOLEAN(0, "overwrite", &top.record_opts.overwrite,
+                   "Use a backward ring buffer, default: yes"),
        OPT_BOOLEAN(0, "force", &symbol_conf.force, "don't complain, do it"),
        OPT_UINTEGER(0, "num-thread-synthesize", &top.nr_threads_synthesize,
                        "number of thread to run event synthesize"),