perf env: Move perf_env out of header.h and session.c into separate object
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 8 Sep 2015 16:30:00 +0000 (13:30 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 14 Sep 2015 15:50:19 +0000 (12:50 -0300)
commitf0ce888c064e07c73a103822f2ad8e77649fd107
tree981973a60045de468e3e016228c1aa4a343e4883
parente8210cefb7e1ec0760a6fe581ad0727a2dcf8dd1
perf env: Move perf_env out of header.h and session.c into separate object

Since it can be used separately from 'perf_session' and 'perf_header',
move it to separate include file and object, next csets will try to move
a perf_env__init() routine.

Tested-by: Wang Nan <wangnan0@huawei.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Borislav Petkov <bp@suse.de>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Kan Liang <kan.liang@intel.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-ff2rw99tsn670y1b6gxbwdsi@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/Build
tools/perf/util/env.c [new file with mode: 0644]
tools/perf/util/env.h [new file with mode: 0644]
tools/perf/util/header.h
tools/perf/util/session.c