summaryrefslogtreecommitdiffstats
path: root/tools/perf/ui/browsers/header.c
diff options
context:
space:
mode:
authorKan Liang <kan.liang@intel.com>2015-08-28 11:48:04 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2015-08-28 19:53:55 +0200
commitce80d3bef9ff97638ca57a5659ef6ad356f35047 (patch)
treeee00ef06279d43fdd3dfded3da0b96c783bd568a /tools/perf/ui/browsers/header.c
parentperf tools: Do not change lib/api/fs/debugfs directly (diff)
downloadlinux-ce80d3bef9ff97638ca57a5659ef6ad356f35047.tar.xz
linux-ce80d3bef9ff97638ca57a5659ef6ad356f35047.zip
perf tools: Rename perf_session_env to perf_env
As it is not necessarily tied to a perf.data file and needs using in places where a perf_session is not required. Suggested-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: Kan Liang <kan.liang@intel.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: Andy Lutomirski <luto@kernel.org> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/r/1440755289-30939-4-git-send-email-kan.liang@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/ui/browsers/header.c')
-rw-r--r--tools/perf/ui/browsers/header.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/ui/browsers/header.c b/tools/perf/ui/browsers/header.c
index f10681717f93..edbeaaf31ace 100644
--- a/tools/perf/ui/browsers/header.c
+++ b/tools/perf/ui/browsers/header.c
@@ -91,7 +91,7 @@ static int ui__list_menu(int argc, char * const argv[])
return list_menu__run(&menu);
}
-int tui__header_window(struct perf_session_env *env)
+int tui__header_window(struct perf_env *env)
{
int i, argc = 0;
char **argv;