@@ -239,4 +239,5 @@ static int python_callback(struct trace_seq *s,
#define __thread
%include "trace-cmd.h"
+%include "trace-seq.h"
%include "event-parse.h"
@@ -106,7 +106,7 @@ class Event(object, DictMixin):
f = tep_find_any_field(self._format, name)
if f is None:
return None
- ret, val = tep_read_number_field(f, pevent_record_data_get(self._record))
+ ret, val = tep_read_number_field(f, tep_record_data_get(self._record))
if ret:
return None
return val
@@ -142,7 +142,7 @@ class Field(object):
def __long__(self):
ret, val = tep_read_number_field(self._field,
- pevent_record_data_get(self._record))
+ tep_record_data_get(self._record))
if ret:
raise FieldError("Not a number field")
return val