]> git.baikalelectronics.ru Git - kernel.git/commit
perf tools: Use perf_data_file__fd() consistently
authorNamhyung Kim <namhyung@kernel.org>
Thu, 29 Jan 2015 08:06:48 +0000 (17:06 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 29 Jan 2015 19:58:24 +0000 (16:58 -0300)
commita1acd82e6802c7d55d5e453d82920ceac44ab9d6
treec48c5c8f9dd2139e6a8efc2ac365f988b44b9f11
parent4b05d27513fd1169b6609dbe3602351afc89497a
perf tools: Use perf_data_file__fd() consistently

Do not reference file->fd directly since we want hide the
implementation details from outside for possible future changes.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1422518843-25818-8-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-inject.c
tools/perf/builtin-record.c