aboutsummaryrefslogtreecommitdiff
path: root/Documentation/libtraceevent-field_get_val.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/libtraceevent-field_get_val.txt')
-rw-r--r--Documentation/libtraceevent-field_get_val.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/libtraceevent-field_get_val.txt b/Documentation/libtraceevent-field_get_val.txt
index 69d51bf..6a5f1cd 100644
--- a/Documentation/libtraceevent-field_get_val.txt
+++ b/Documentation/libtraceevent-field_get_val.txt
@@ -64,10 +64,10 @@ void process_record(struct tep_record *record)
{
int len;
char *comm;
- struct tep_event_format *event;
+ struct tep_event *event;
unsigned long long val;
- event = tep_find_event_by_record(pevent, record);
+ event = tep_find_event_by_record(tep, record);
if (event != NULL) {
if (tep_get_common_field_val(NULL, event, "common_type",
record, &val, 0) == 0) {