Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 349978
b: refs/heads/master
c: ab1bf65
h: refs/heads/master
v: v3
  • Loading branch information
Arnaldo Carvalho de Melo committed Jan 24, 2013
1 parent 8cb26dc commit 1d900fb
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 15 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: be651ed98dd362fa4151f49f917c74e9e8da88ac
refs/heads/master: ab1bf653220b37927b838df81042c8355d20bc49
14 changes: 13 additions & 1 deletion trunk/tools/perf/util/pmu.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

#include <linux/list.h>
#include <sys/types.h>
#include <sys/stat.h>
Expand All @@ -11,6 +10,19 @@
#include "parse-events.h"
#include "cpumap.h"

struct perf_pmu_alias {
char *name;
struct list_head terms;
struct list_head list;
};

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

#define EVENT_SOURCE_DEVICE_PATH "/bus/event_source/devices/"

int perf_pmu_parse(struct list_head *list, char *name);
Expand Down
13 changes: 0 additions & 13 deletions trunk/tools/perf/util/pmu.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,6 @@ enum {

#define PERF_PMU_FORMAT_BITS 64

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

struct perf_pmu_alias {
char *name;
struct list_head terms;
struct list_head list;
};

struct perf_pmu {
char *name;
__u32 type;
Expand Down

0 comments on commit 1d900fb

Please sign in to comment.