diff options
Diffstat (limited to 'kernel/trace/trace.c')
-rw-r--r-- | kernel/trace/trace.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index 5ec49c3c1597..152d0969adf8 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c | |||
@@ -1388,7 +1388,7 @@ static enum print_line_t print_lat_fmt(struct trace_iterator *iter) | |||
1388 | } | 1388 | } |
1389 | 1389 | ||
1390 | if (event && event->latency_trace) { | 1390 | if (event && event->latency_trace) { |
1391 | ret = event->latency_trace(s, entry, sym_flags); | 1391 | ret = event->latency_trace(iter, sym_flags); |
1392 | if (ret) | 1392 | if (ret) |
1393 | return ret; | 1393 | return ret; |
1394 | return TRACE_TYPE_HANDLED; | 1394 | return TRACE_TYPE_HANDLED; |
@@ -1419,7 +1419,7 @@ static enum print_line_t print_trace_fmt(struct trace_iterator *iter) | |||
1419 | } | 1419 | } |
1420 | 1420 | ||
1421 | if (event && event->trace) { | 1421 | if (event && event->trace) { |
1422 | ret = event->trace(s, entry, sym_flags); | 1422 | ret = event->trace(iter, sym_flags); |
1423 | if (ret) | 1423 | if (ret) |
1424 | return ret; | 1424 | return ret; |
1425 | return TRACE_TYPE_HANDLED; | 1425 | return TRACE_TYPE_HANDLED; |
@@ -1449,7 +1449,7 @@ static enum print_line_t print_raw_fmt(struct trace_iterator *iter) | |||
1449 | 1449 | ||
1450 | event = ftrace_find_event(entry->type); | 1450 | event = ftrace_find_event(entry->type); |
1451 | if (event && event->raw) { | 1451 | if (event && event->raw) { |
1452 | ret = event->raw(s, entry, 0); | 1452 | ret = event->raw(iter, 0); |
1453 | if (ret) | 1453 | if (ret) |
1454 | return ret; | 1454 | return ret; |
1455 | return TRACE_TYPE_HANDLED; | 1455 | return TRACE_TYPE_HANDLED; |
@@ -1478,7 +1478,7 @@ static enum print_line_t print_hex_fmt(struct trace_iterator *iter) | |||
1478 | 1478 | ||
1479 | event = ftrace_find_event(entry->type); | 1479 | event = ftrace_find_event(entry->type); |
1480 | if (event && event->hex) | 1480 | if (event && event->hex) |
1481 | event->hex(s, entry, 0); | 1481 | event->hex(iter, 0); |
1482 | 1482 | ||
1483 | SEQ_PUT_FIELD_RET(s, newline); | 1483 | SEQ_PUT_FIELD_RET(s, newline); |
1484 | 1484 | ||
@@ -1517,7 +1517,7 @@ static enum print_line_t print_bin_fmt(struct trace_iterator *iter) | |||
1517 | 1517 | ||
1518 | event = ftrace_find_event(entry->type); | 1518 | event = ftrace_find_event(entry->type); |
1519 | if (event && event->binary) | 1519 | if (event && event->binary) |
1520 | event->binary(s, entry, 0); | 1520 | event->binary(iter, 0); |
1521 | 1521 | ||
1522 | return TRACE_TYPE_HANDLED; | 1522 | return TRACE_TYPE_HANDLED; |
1523 | } | 1523 | } |