Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 191087
b: refs/heads/master
c: 567e547
h: refs/heads/master
i:
  191085: c6fa34b
  191083: 954bf9d
  191079: 188a8eb
  191071: 2264c13
v: v3
  • Loading branch information
Arnaldo Carvalho de Melo authored and Ingo Molnar committed Mar 13, 2010
1 parent a010ea0 commit 465edd7
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0308635917273030db6121d67c41ef2279b30340
refs/heads/master: 567e54790e5c07152a93b6de4d0210af8b77da87
2 changes: 2 additions & 0 deletions trunk/tools/perf/perf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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]";

Expand Down
8 changes: 8 additions & 0 deletions trunk/tools/perf/util/debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ extern int dump_trace;

int dump_printf(const char *fmt, ...) __attribute__((format(printf, 1, 2)));
void trace_event(event_t *event);

#ifdef NO_NEWT_SUPPORT
static inline int browser__show_help(const char *format __used, va_list ap __used)
{
return 0;
}
#else
int browser__show_help(const char *format, va_list ap);
#endif

#endif /* __PERF_DEBUG_H */
2 changes: 0 additions & 2 deletions trunk/tools/perf/util/newt.c
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,6 @@ int browser__show_help(const char *format, va_list ap)
return ret;
}

bool use_browser;

void setup_browser(void)
{
if (!isatty(1))
Expand Down

0 comments on commit 465edd7

Please sign in to comment.