perf thread: Generalize function to copy from thread addr space from intel-bts code
[linux-2.6-microblaze.git] / tools / perf / util / thread.h
index 8276ffe..cf8375c 100644 (file)
@@ -113,6 +113,9 @@ struct symbol *thread__find_symbol_fb(struct thread *thread, u8 cpumode,
 void thread__find_cpumode_addr_location(struct thread *thread, u64 addr,
                                        struct addr_location *al);
 
+int thread__memcpy(struct thread *thread, struct machine *machine,
+                  void *buf, u64 ip, int len, bool *is64bit);
+
 static inline void *thread__priv(struct thread *thread)
 {
        return thread->priv;