diff options
| author | Jiri Olsa <jolsa@redhat.com> | 2014-03-18 10:46:52 -0400 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2014-03-18 17:17:04 -0400 |
| commit | 8fffdb6821e8ca249f56fba796ef463ac74ab196 (patch) | |
| tree | 3399eb24f56bc9294346e1b52b5989af62b5a72b | |
| parent | 9cdbadceca31bf2ccd9e50fecdc5591d3fb8dae3 (diff) | |
perf tools: Remove thread__find_map function
Because it's not used any more.
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Don Zickus <dzickus@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1395154016-26709-3-git-send-email-jolsa@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
| -rw-r--r-- | tools/perf/util/thread.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tools/perf/util/thread.h b/tools/perf/util/thread.h index 9a070743270c..9b29f085aede 100644 --- a/tools/perf/util/thread.h +++ b/tools/perf/util/thread.h | |||
| @@ -44,12 +44,6 @@ void thread__insert_map(struct thread *thread, struct map *map); | |||
| 44 | int thread__fork(struct thread *thread, struct thread *parent, u64 timestamp); | 44 | int thread__fork(struct thread *thread, struct thread *parent, u64 timestamp); |
| 45 | size_t thread__fprintf(struct thread *thread, FILE *fp); | 45 | size_t thread__fprintf(struct thread *thread, FILE *fp); |
| 46 | 46 | ||
| 47 | static inline struct map *thread__find_map(struct thread *thread, | ||
| 48 | enum map_type type, u64 addr) | ||
| 49 | { | ||
| 50 | return thread ? map_groups__find(&thread->mg, type, addr) : NULL; | ||
| 51 | } | ||
| 52 | |||
| 53 | void thread__find_addr_map(struct thread *thread, struct machine *machine, | 47 | void thread__find_addr_map(struct thread *thread, struct machine *machine, |
| 54 | u8 cpumode, enum map_type type, u64 addr, | 48 | u8 cpumode, enum map_type type, u64 addr, |
| 55 | struct addr_location *al); | 49 | struct addr_location *al); |
