]> asedeno.scripts.mit.edu Git - linux.git/commit
perf util: Make copyfile_offset() global
authorJiri Olsa <jolsa@kernel.org>
Thu, 13 Sep 2018 12:54:11 +0000 (14:54 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 19 Sep 2018 13:25:12 +0000 (10:25 -0300)
commited93d0a26012a4a12231c16b18628a324079dc45
treeae7837b78747c58f4de3b6aff43899e762675fb9
parentded2b8fe2e431d8029ab50238744fcce06a2f0c6
perf util: Make copyfile_offset() global

It will be used outside of util object in following patches.

Committer note:

We need to have the header with the definition for loff_t in util.h
since we now use it in the copyfile_offset() signature.

Also move that prototype closer to the other copyfile_ prefixed
functions.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Alexey Budankov <alexey.budankov@linux.intel.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20180913125450.21342-10-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/util.c
tools/perf/util/util.h