X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=tools%2Fperf%2Fperf.c;h=d2de8393a33c0ce51523e6819ea6eeed74a048df;hb=d2f1e15b661e71fd52111f51c99a6ce41384e9ef;hp=cd32c200cdb32169c03369e0f505b8e974822306;hpb=318ae2edc3b29216abd8a2510f3f80b764f06858;p=~andy%2Flinux diff --git a/tools/perf/perf.c b/tools/perf/perf.c index cd32c200cdb..d2de8393a33 100644 --- a/tools/perf/perf.c +++ b/tools/perf/perf.c @@ -16,6 +16,8 @@ #include "util/string.h" #include "util/debugfs.h" +bool use_browser; + const char perf_usage_string[] = "perf [--version] [--help] COMMAND [ARGS]"; @@ -265,6 +267,8 @@ static int run_builtin(struct cmd_struct *p, int argc, const char **argv) if (status) return status & 0xff; + exit_browser(); + /* Somebody closed stdout? */ if (fstat(fileno(stdout), &st)) return 0;