~ubuntu-branches/debian/experimental/linux-tools/experimental

« back to all changes in this revision

Viewing changes to tools/perf/util/python.c

  • Committer: Package Import Robot
  • Author(s): Ben Hutchings
  • Date: 2014-02-02 16:57:49 UTC
  • mfrom: (1.1.10) (0.1.21 sid)
  • Revision ID: package-import@ubuntu.com-20140202165749-tw94o9t1t0a8txk6
Tags: 3.13-1~exp2
Merge changes from sid up to 3.12.6-3

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
# define PyVarObject_HEAD_INIT(type, size) PyObject_HEAD_INIT(type) size,
34
34
#endif
35
35
 
36
 
struct throttle_event {
37
 
        struct perf_event_header header;
38
 
        u64                      time;
39
 
        u64                      id;
40
 
        u64                      stream_id;
41
 
};
42
 
 
43
36
PyMODINIT_FUNC initperf(void);
44
37
 
45
38
#define member_def(type, member, ptype, help) \
1038
1031
            pyrf_cpu_map__setup_types() < 0)
1039
1032
                return;
1040
1033
 
 
1034
        /* The page_size is placed in util object. */
1041
1035
        page_size = sysconf(_SC_PAGE_SIZE);
1042
1036
 
1043
1037
        Py_INCREF(&pyrf_evlist__type);