Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 349974
b: refs/heads/master
c: 5c6ccc3
h: refs/heads/master
v: v3
  • Loading branch information
Arnaldo Carvalho de Melo committed Jan 24, 2013
1 parent ea52997 commit 97cee04
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 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: 6cee6cd310638cd5751eea0c81315b17eb7c28a9
refs/heads/master: 5c6ccc3755650497234f9027a0ac9e3b2cf1ba9f
20 changes: 10 additions & 10 deletions trunk/tools/perf/util/pmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ static int pmu_format(char *name, struct list_head *format)

static int perf_pmu__new_alias(struct list_head *list, char *name, FILE *file)
{
struct perf_pmu__alias *alias;
struct perf_pmu_alias *alias;
char buf[256];
int ret;

Expand Down Expand Up @@ -172,7 +172,7 @@ static int pmu_aliases(char *name, struct list_head *head)
return 0;
}

static int pmu_alias_terms(struct perf_pmu__alias *alias,
static int pmu_alias_terms(struct perf_pmu_alias *alias,
struct list_head *terms)
{
struct parse_events_term *term, *clone;
Expand Down Expand Up @@ -360,10 +360,10 @@ struct perf_pmu *perf_pmu__find(char *name)
return pmu_lookup(name);
}

static struct perf_pmu__format*
static struct perf_pmu_format *
pmu_find_format(struct list_head *formats, char *name)
{
struct perf_pmu__format *format;
struct perf_pmu_format *format;

list_for_each_entry(format, formats, list)
if (!strcmp(format->name, name))
Expand Down Expand Up @@ -405,7 +405,7 @@ static int pmu_config_term(struct list_head *formats,
struct perf_event_attr *attr,
struct parse_events_term *term)
{
struct perf_pmu__format *format;
struct perf_pmu_format *format;
__u64 *vp;

/*
Expand Down Expand Up @@ -471,10 +471,10 @@ int perf_pmu__config(struct perf_pmu *pmu, struct perf_event_attr *attr,
return perf_pmu__config_terms(&pmu->format, attr, head_terms);
}

static struct perf_pmu__alias *pmu_find_alias(struct perf_pmu *pmu,
struct parse_events_term *term)
static struct perf_pmu_alias *pmu_find_alias(struct perf_pmu *pmu,
struct parse_events_term *term)
{
struct perf_pmu__alias *alias;
struct perf_pmu_alias *alias;
char *name;

if (parse_events__is_hardcoded_term(term))
Expand Down Expand Up @@ -508,7 +508,7 @@ static struct perf_pmu__alias *pmu_find_alias(struct perf_pmu *pmu,
int perf_pmu__check_alias(struct perf_pmu *pmu, struct list_head *head_terms)
{
struct parse_events_term *term, *h;
struct perf_pmu__alias *alias;
struct perf_pmu_alias *alias;
int ret;

list_for_each_entry_safe(term, h, head_terms, list) {
Expand All @@ -527,7 +527,7 @@ int perf_pmu__check_alias(struct perf_pmu *pmu, struct list_head *head_terms)
int perf_pmu__new_format(struct list_head *list, char *name,
int config, unsigned long *bits)
{
struct perf_pmu__format *format;
struct perf_pmu_format *format;

format = zalloc(sizeof(*format));
if (!format)
Expand Down
6 changes: 3 additions & 3 deletions trunk/tools/perf/util/pmu.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ enum {

#define PERF_PMU_FORMAT_BITS 64

struct perf_pmu__format {
struct perf_pmu_format {
char *name;
int value;
DECLARE_BITMAP(bits, PERF_PMU_FORMAT_BITS);
struct list_head list;
};

struct perf_pmu__alias {
struct perf_pmu_alias {
char *name;
struct list_head terms;
struct list_head list;
Expand All @@ -42,7 +42,7 @@ int perf_pmu__config_terms(struct list_head *formats,
struct list_head *head_terms);
int perf_pmu__check_alias(struct perf_pmu *pmu, struct list_head *head_terms);
struct list_head *perf_pmu__alias(struct perf_pmu *pmu,
struct list_head *head_terms);
struct list_head *head_terms);
int perf_pmu_wrap(void);
void perf_pmu_error(struct list_head *list, char *name, char const *msg);

Expand Down

0 comments on commit 97cee04

Please sign in to comment.