aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-sched.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/builtin-sched.c')
-rw-r--r--tools/perf/builtin-sched.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/perf/builtin-sched.c b/tools/perf/builtin-sched.c
index 65021fe1361e..48ab283ed86b 100644
--- a/tools/perf/builtin-sched.c
+++ b/tools/perf/builtin-sched.c
@@ -1594,7 +1594,8 @@ process_raw_event(event_t *raw_event __used, void *data,
1594 process_sched_migrate_task_event(data, event, cpu, timestamp, thread); 1594 process_sched_migrate_task_event(data, event, cpu, timestamp, thread);
1595} 1595}
1596 1596
1597static int process_sample_event(event_t *event) 1597static int process_sample_event(event_t *event,
1598 struct perf_session *session __used)
1598{ 1599{
1599 struct sample_data data; 1600 struct sample_data data;
1600 struct thread *thread; 1601 struct thread *thread;
@@ -1632,7 +1633,8 @@ static int process_sample_event(event_t *event)
1632 return 0; 1633 return 0;
1633} 1634}
1634 1635
1635static int process_lost_event(event_t *event __used) 1636static int process_lost_event(event_t *event __used,
1637 struct perf_session *session __used)
1636{ 1638{
1637 nr_lost_chunks++; 1639 nr_lost_chunks++;
1638 nr_lost_events += event->lost.lost; 1640 nr_lost_events += event->lost.lost;