Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 305506
b: refs/heads/master
c: 8784eb7
h: refs/heads/master
v: v3
  • Loading branch information
Frederic Weisbecker authored and Arnaldo Carvalho de Melo committed May 22, 2012
1 parent 5d52322 commit 9f8a34a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 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: e326e7524531c5c6de4a8cf8eeed60b4a9f47637
refs/heads/master: 8784eb7497b928de33a715e26da2bd51d424bec1
12 changes: 6 additions & 6 deletions trunk/tools/perf/util/scripting-engines/trace-event-perl.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ INTERP my_perl;
#define FTRACE_MAX_EVENT \
((1 << (sizeof(unsigned short) * 8)) - 1)

struct event *events[FTRACE_MAX_EVENT];
struct event_format *events[FTRACE_MAX_EVENT];

extern struct scripting_context *scripting_context;

Expand Down Expand Up @@ -181,7 +181,7 @@ static void define_flag_field(const char *ev_name,
LEAVE;
}

static void define_event_symbols(struct event *event,
static void define_event_symbols(struct event_format *event,
const char *ev_name,
struct print_arg *args)
{
Expand Down Expand Up @@ -233,10 +233,10 @@ static void define_event_symbols(struct event *event,
define_event_symbols(event, ev_name, args->next);
}

static inline struct event *find_cache_event(int type)
static inline struct event_format *find_cache_event(int type)
{
static char ev_name[256];
struct event *event;
struct event_format *event;

if (events[type])
return events[type];
Expand All @@ -262,7 +262,7 @@ static void perl_process_tracepoint(union perf_event *pevent __unused,
static char handler[256];
unsigned long long val;
unsigned long s, ns;
struct event *event;
struct event_format *event;
int type;
int pid;
int cpu = sample->cpu;
Expand Down Expand Up @@ -450,7 +450,7 @@ static int perl_stop_script(void)

static int perl_generate_script(const char *outfile)
{
struct event *event = NULL;
struct event_format *event = NULL;
struct format_field *f;
char fname[PATH_MAX];
int not_first, count;
Expand Down

0 comments on commit 9f8a34a

Please sign in to comment.