diff options
| author | Olof Johansson <olof@lixom.net> | 2013-11-15 18:17:59 -0500 |
|---|---|---|
| committer | Olof Johansson <olof@lixom.net> | 2013-11-15 18:17:59 -0500 |
| commit | 6886059f2ef5d62c73e87a905e84fa4f87d56074 (patch) | |
| tree | dfe6e1611d7c50057df52db7b55eafbfb8e33a93 /tools/perf/util/python.c | |
| parent | ca439c9b983ffa14e9eae6030e3ee80ad039388f (diff) | |
| parent | 26273e02a0cf18eb72416559310d3294390a9024 (diff) | |
Merge tag 'omap-for-v3.13/fixes-for-merge-window-take2' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into fixes
Few clock fixes, a runtime PM fix, and pinctrl-single fix along
with few other fixes that popped up during the merge window.
* tag 'omap-for-v3.13/fixes-for-merge-window-take2' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
ARM: OMAP2+: Fix build for dra7xx without omap4 and 5
ARM: OMAP2+: omap_device: maintain sane runtime pm status around suspend/resume
doc: devicetree: Add bindings documentation for omap-des driver
ARM: dts: doc: Document missing compatible property for omap-sham driver
ARM: OMAP3: Beagle: fix return value check in beagle_opp_init()
ARM: OMAP: devicetree: fix SPI node compatible property syntax items
pinctrl: single: call pcs_soc->rearm() whenever IRQ mask is changed
ARM: OMAP2+: smsc911x: fix return value check in gpmc_smsc911x_init()
+ sync with newer trunk
Diffstat (limited to 'tools/perf/util/python.c')
| -rw-r--r-- | tools/perf/util/python.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/tools/perf/util/python.c b/tools/perf/util/python.c index 2ac4bc92bb1f..4bf8ace7f511 100644 --- a/tools/perf/util/python.c +++ b/tools/perf/util/python.c | |||
| @@ -33,13 +33,6 @@ int eprintf(int level, const char *fmt, ...) | |||
| 33 | # define PyVarObject_HEAD_INIT(type, size) PyObject_HEAD_INIT(type) size, | 33 | # define PyVarObject_HEAD_INIT(type, size) PyObject_HEAD_INIT(type) size, |
| 34 | #endif | 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 | PyMODINIT_FUNC initperf(void); | 36 | PyMODINIT_FUNC initperf(void); |
| 44 | 37 | ||
| 45 | #define member_def(type, member, ptype, help) \ | 38 | #define member_def(type, member, ptype, help) \ |
| @@ -1038,6 +1031,7 @@ PyMODINIT_FUNC initperf(void) | |||
| 1038 | pyrf_cpu_map__setup_types() < 0) | 1031 | pyrf_cpu_map__setup_types() < 0) |
| 1039 | return; | 1032 | return; |
| 1040 | 1033 | ||
| 1034 | /* The page_size is placed in util object. */ | ||
| 1041 | page_size = sysconf(_SC_PAGE_SIZE); | 1035 | page_size = sysconf(_SC_PAGE_SIZE); |
| 1042 | 1036 | ||
| 1043 | Py_INCREF(&pyrf_evlist__type); | 1037 | Py_INCREF(&pyrf_evlist__type); |
