|
@@ -348,7 +348,18 @@ static int __cmd_report(void)
|
|
hists__tty_browse_tree(&session->hists_tree, help);
|
|
hists__tty_browse_tree(&session->hists_tree, help);
|
|
|
|
|
|
out_delete:
|
|
out_delete:
|
|
- perf_session__delete(session);
|
|
|
|
|
|
+ /*
|
|
|
|
+ * Speed up the exit process, for large files this can
|
|
|
|
+ * take quite a while.
|
|
|
|
+ *
|
|
|
|
+ * XXX Enable this when using valgrind or if we ever
|
|
|
|
+ * librarize this command.
|
|
|
|
+ *
|
|
|
|
+ * Also experiment with obstacks to see how much speed
|
|
|
|
+ * up we'll get here.
|
|
|
|
+ *
|
|
|
|
+ * perf_session__delete(session);
|
|
|
|
+ */
|
|
return ret;
|
|
return ret;
|
|
}
|
|
}
|
|
|
|
|