perf header: Use struct feat_fd to process header records
authorDavid Carrillo-Cisneros <[email protected]>
Tue, 18 Jul 2017 04:25:41 +0000 (21:25 -0700)
committerArnaldo Carvalho de Melo <[email protected]>
Wed, 19 Jul 2017 02:14:32 +0000 (23:14 -0300)
commit1a22275449f4bd6255e24f0c5b6c7fa61b263417
tree1fcdf808259c1fb38c72d9ab2c01d67f0d7e4694
parentcfc654209e27ecaa36f550a0934f3c78f9c9179f
perf header: Use struct feat_fd to process header records

As preparation for using header records in pipe-mode, replace int fd
with struct feat_fd ff in process functions for all header record types.

This patch does not change behavior.

Signed-off-by: David Carrillo-Cisneros <[email protected]>
Acked-by: David Ahern <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: He Kuang <[email protected]>
Cc: Masami Hiramatsu <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Turner <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Simon Que <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Wang Nan <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/util/header.c