Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 191077
b: refs/heads/master
c: 895f0ed
h: refs/heads/master
i:
  191075: 53fc551
v: v3
  • Loading branch information
Arnaldo Carvalho de Melo authored and Ingo Molnar committed Mar 12, 2010
1 parent ff612a6 commit cf9873f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 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: fe2197b8bb2f318c1e0b0f589f24f781dd27d1f2
refs/heads/master: 895f0edc3cd04a2a3de2c608ba20821b832a8abb
2 changes: 1 addition & 1 deletion trunk/tools/perf/builtin-top.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ static inline struct symbol *sym_entry__symbol(struct sym_entry *self)
return ((void *)self) + symbol_conf.priv_size;
}

static void get_term_dimensions(struct winsize *ws)
void get_term_dimensions(struct winsize *ws)
{
char *s = getenv("LINES");

Expand Down
4 changes: 4 additions & 0 deletions trunk/tools/perf/perf.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#ifndef _PERF_PERF_H
#define _PERF_PERF_H

struct winsize;

void get_term_dimensions(struct winsize *ws);

#if defined(__i386__)
#include "../../arch/x86/include/asm/unistd.h"
#define rmb() asm volatile("lock; addl $0,0(%%esp)" ::: "memory")
Expand Down

0 comments on commit cf9873f

Please sign in to comment.