summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/vdso.h
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2014-07-22 15:18:00 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2014-07-23 22:37:26 +0200
commit5835eddab6f162b38e9a6a5447a2c3a128637956 (patch)
tree14c0f8417c2bcb1beb04dd7a98f6e097216aa43d /tools/perf/util/vdso.h
parentperf tools: Add dso__type() (diff)
downloadlinux-5835eddab6f162b38e9a6a5447a2c3a128637956.tar.xz
linux-5835eddab6f162b38e9a6a5447a2c3a128637956.zip
perf tools: Add thread parameter to vdso__dso_findnew()
The thread will be needed to determine the VDSO type. Reviewed-by: Jiri Olsa <jolsa@redhat.com> Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Namhyung Kim <namhyung@gmail.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/r/1406035081-14301-52-git-send-email-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/vdso.h')
-rw-r--r--tools/perf/util/vdso.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/util/vdso.h b/tools/perf/util/vdso.h
index be3eb4324c1e..af9d6929a215 100644
--- a/tools/perf/util/vdso.h
+++ b/tools/perf/util/vdso.h
@@ -19,8 +19,9 @@ struct dso;
bool dso__is_vdso(struct dso *dso);
struct machine;
+struct thread;
-struct dso *vdso__dso_findnew(struct machine *machine);
+struct dso *vdso__dso_findnew(struct machine *machine, struct thread *thread);
void vdso__exit(struct machine *machine);
#endif /* __PERF_VDSO__ */