perf tools: Release thread resources on PERF_RECORD_EXIT
[pandora-kernel.git] / tools / perf / util / thread.h
index ee6bbcf..688500f 100644 (file)
@@ -20,6 +20,8 @@ struct thread {
 
 struct perf_session;
 
+void thread__delete(struct thread *self);
+
 int find_all_tid(int pid, pid_t ** all_tid);
 int thread__set_comm(struct thread *self, const char *comm);
 int thread__comm_len(struct thread *self);