diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-04-17 15:10:49 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-04-19 12:01:48 -0400 |
commit | 3d689ed6099a1a11c38bb78aff7498e78e287e0b (patch) | |
tree | b87d7f59e994306e99551776c481001ca3956aa5 /tools/perf/util/trace-event-parse.c | |
parent | 28a9bb9621d9f8b4328048297cd306e09fbbf175 (diff) |
perf tools: Move sane ctype stuff from util.h to sane_ctype.h
More stuff that came from git, out of the hodge-podge that is util.h
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-e3lana4gctz3ub4hn4y29hkw@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/trace-event-parse.c')
-rw-r--r-- | tools/perf/util/trace-event-parse.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/util/trace-event-parse.c b/tools/perf/util/trace-event-parse.c index de0078e21408..746bbee645d9 100644 --- a/tools/perf/util/trace-event-parse.c +++ b/tools/perf/util/trace-event-parse.c | |||
@@ -21,13 +21,14 @@ | |||
21 | #include <stdio.h> | 21 | #include <stdio.h> |
22 | #include <stdlib.h> | 22 | #include <stdlib.h> |
23 | #include <string.h> | 23 | #include <string.h> |
24 | #include <ctype.h> | ||
25 | #include <errno.h> | 24 | #include <errno.h> |
26 | 25 | ||
27 | #include "../perf.h" | 26 | #include "../perf.h" |
28 | #include "util.h" | 27 | #include "util.h" |
29 | #include "trace-event.h" | 28 | #include "trace-event.h" |
30 | 29 | ||
30 | #include "sane_ctype.h" | ||
31 | |||
31 | static int get_common_field(struct scripting_context *context, | 32 | static int get_common_field(struct scripting_context *context, |
32 | int *offset, int *size, const char *type) | 33 | int *offset, int *size, const char *type) |
33 | { | 34 | { |