diff options
author | Slavomir Kaslev <kaslevs@vmware.com> | 2019-02-14 16:07:23 +0200 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2019-02-14 12:31:20 -0500 |
commit | 23e1e7c168298f1724e01e41fd712a518c2207cd (patch) | |
tree | c83c13ccda98a6eb37c1e3e8b6c78887a137ec80 | |
parent | a57e551a1342007c7c04bf8485ed8a505c5d597d (diff) | |
download | trace-cmd-23e1e7c168298f1724e01e41fd712a518c2207cd.tar.gz |
trace-cmd: Removed some unused #includes
This patch removes several unused #include directives.
No changes in behaviour intended.
Link: http://lore.kernel.org/linux-trace-devel/20190214140723.27804-3-kaslevs@vmware.com
Signed-off-by: Slavomir Kaslev <kaslevs@vmware.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
-rw-r--r-- | lib/trace-cmd/trace-input.c | 9 | ||||
-rw-r--r-- | lib/trace-cmd/trace-recorder.c | 9 |
2 files changed, 1 insertions, 17 deletions
diff --git a/lib/trace-cmd/trace-input.c b/lib/trace-cmd/trace-input.c index b6285708..34a83013 100644 --- a/lib/trace-cmd/trace-input.c +++ b/lib/trace-cmd/trace-input.c @@ -4,22 +4,13 @@ * */ #define _LARGEFILE64_SOURCE -#include <dirent.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> -#include <string.h> -#include <getopt.h> -#include <stdarg.h> -#include <sys/types.h> -#include <sys/stat.h> -#include <sys/wait.h> #include <sys/mman.h> -#include <pthread.h> #include <regex.h> #include <fcntl.h> #include <unistd.h> -#include <ctype.h> #include <errno.h> #include <linux/time64.h> diff --git a/lib/trace-cmd/trace-recorder.c b/lib/trace-cmd/trace-recorder.c index 1b6a9952..0b8d98ab 100644 --- a/lib/trace-cmd/trace-recorder.c +++ b/lib/trace-cmd/trace-recorder.c @@ -4,18 +4,11 @@ * */ #define _LARGEFILE64_SOURCE -#include <dirent.h> #include <stdio.h> #include <stdlib.h> -#include <string.h> -#include <stdarg.h> -#include <sys/types.h> -#include <sys/stat.h> -#include <sys/wait.h> -#include <pthread.h> #include <fcntl.h> +#include <time.h> #include <unistd.h> -#include <ctype.h> #include <errno.h> #include "trace-cmd.h" |