diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-04-17 14:23:08 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-04-19 12:01:46 -0400 |
commit | fd20e8111cc0e51ce12fb8ee17c863088fe95065 (patch) | |
tree | a1feb8094ea1c649a508f126b75cddd16e764eba /tools/perf/builtin-record.c | |
parent | b640985fe40c7446fa5db467e747fbac5c081c86 (diff) |
perf tools: Including missing inttypes.h header
Needed to use the PRI[xu](32,64) formatting macros.
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-wkbho8kaw24q67dd11q0j39f@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-record.c')
-rw-r--r-- | tools/perf/builtin-record.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-record.c index 3191ab063852..65429d1b29c8 100644 --- a/tools/perf/builtin-record.c +++ b/tools/perf/builtin-record.c | |||
@@ -40,6 +40,7 @@ | |||
40 | #include "util/perf-hooks.h" | 40 | #include "util/perf-hooks.h" |
41 | #include "asm/bug.h" | 41 | #include "asm/bug.h" |
42 | 42 | ||
43 | #include <inttypes.h> | ||
43 | #include <unistd.h> | 44 | #include <unistd.h> |
44 | #include <sched.h> | 45 | #include <sched.h> |
45 | #include <sys/mman.h> | 46 | #include <sys/mman.h> |