Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 349923
b: refs/heads/master
c: 0c6332e
h: refs/heads/master
i:
  349921: 902cf48
  349919: 241c96c
v: v3
  • Loading branch information
Arnaldo Carvalho de Melo committed Jan 24, 2013
1 parent 51a1ed0 commit de5e804
Show file tree
Hide file tree
Showing 4 changed files with 12 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: 54359d3340241b4cf53e42ecd5c429d7ba6fbef3
refs/heads/master: 0c6332e9d8b8f38a9d5f0cdd66c5575e76ad8995
2 changes: 0 additions & 2 deletions trunk/tools/perf/tests/attr.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@

extern int verbose;

bool test_attr__enabled;

static char *dir;

void test_attr__init(void)
Expand Down
9 changes: 9 additions & 0 deletions trunk/tools/perf/util/python.c
Original file line number Diff line number Diff line change
Expand Up @@ -1045,3 +1045,12 @@ PyMODINIT_FUNC initperf(void)
if (PyErr_Occurred())
PyErr_SetString(PyExc_ImportError, "perf: Init failed!");
}

/*
* Dummy, to avoid dragging all the test_attr infrastructure in the python
* binding.
*/
void test_attr__open(struct perf_event_attr *attr, pid_t pid, int cpu,
int fd, int group_fd, unsigned long flags)
{
}
2 changes: 2 additions & 0 deletions trunk/tools/perf/util/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
*/
unsigned int page_size;

bool test_attr__enabled;

bool perf_host = true;
bool perf_guest = false;

Expand Down

0 comments on commit de5e804

Please sign in to comment.