commit | 6ebd5ac37d66210e22e07633a95a9118ea8c5068 | [log] [tgz] |
---|---|---|
author | Marty Faltesek <mfaltesek@google.com> | Tue May 12 20:50:19 2015 -0400 |
committer | Marty Faltesek <mfaltesek@google.com> | Wed Aug 19 20:09:23 2015 -0400 |
tree | 31e3b8b65580ad4ae8956afaddd91abc12ec84be | |
parent | 42d6942bd066c662d3dafadb4d088b0a5967a251 [diff] |
Include header files for perf to build. Change-Id: I4fdbd9df99d5204de1816cbdd482a41c4c34ab17
diff --git a/tools/perf/builtin-sched.c b/tools/perf/builtin-sched.c index 5177964..4580dca 100644 --- a/tools/perf/builtin-sched.c +++ b/tools/perf/builtin-sched.c
@@ -19,6 +19,9 @@ #include <pthread.h> #include <math.h> +#include <sys/time.h> +#include <sys/resource.h> + static char const *input_name = "perf.data"; static char default_sort_order[] = "avg, max, switch, runtime";