tools: Introduce tools/include/linux/time64.h for *SEC_PER_*SEC macros
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 5 Aug 2016 18:40:30 +0000 (15:40 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 23 Aug 2016 18:37:33 +0000 (15:37 -0300)
commitbd48c63eb0afc28b29fb342f215cdd77b995c02e
treedbbd787a2854cd2a973590a618a19a327bb31a94
parentce90c12d2453aa6be743719bb0a5d4040b92700f
tools: Introduce tools/include/linux/time64.h for *SEC_PER_*SEC macros

And remove it from tools/perf/{perf,util}.h, making code that needs
these macros to include linux/time64.h instead, to match how this is
used in the kernel sources.

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: Steven Rostedt <rostedt@goodmis.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-e69fc1pvkgt57yvxqt6eunyg@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
12 files changed:
tools/include/linux/time64.h [new file with mode: 0644]
tools/perf/MANIFEST
tools/perf/builtin-kvm.c
tools/perf/builtin-script.c
tools/perf/builtin-stat.c
tools/perf/builtin-trace.c
tools/perf/perf.h
tools/perf/util/debug.c
tools/perf/util/scripting-engines/trace-event-perl.c
tools/perf/util/scripting-engines/trace-event-python.c
tools/perf/util/util.c
tools/perf/util/util.h