2 #ifndef __PERF_THREAD_H 3 #define __PERF_THREAD_H 5 #include <linux/refcount.h> 6 #include <linux/rbtree.h> 7 #include <linux/list.h> 41 #ifdef HAVE_LIBUNWIND_SUPPORT 64 #define thread__zput(thread) __thread__zput(&thread) 90 int thread__fork(
struct thread *thread,
struct thread *parent, u64 timestamp);
static bool thread__is_filtered(struct thread *thread)
static void thread__exited(struct thread *thread)
int thread__set_comm_from_proc(struct thread *thread)
struct strlist * comm_list
struct intlist * pid_list
static void __thread__zput(struct thread **thread)
struct map * thread__find_map(struct thread *thread, u8 cpumode, u64 addr, struct addr_location *al)
struct list_head comm_list
const char * thread__comm_str(const struct thread *thread)
struct namespaces * thread__namespaces(const struct thread *thread)
size_t thread__fprintf(struct thread *thread, FILE *fp)
void thread__find_cpumode_addr_location(struct thread *thread, u64 addr, struct addr_location *al)
int thread__comm_len(struct thread *thread)
struct rw_semaphore namespaces_lock
static bool intlist__has_entry(struct intlist *ilist, int i)
int thread__set_namespaces(struct thread *thread, u64 timestamp, struct namespaces_event *event)
struct rw_semaphore comm_lock
struct thread * thread__main_thread(struct machine *machine, struct thread *thread)
void thread__delete(struct thread *thread)
struct thread * thread__new(pid_t pid, pid_t tid)
struct symbol * thread__find_symbol(struct thread *thread, u8 cpumode, u64 addr, struct addr_location *al)
struct comm * thread__exec_comm(const struct thread *thread)
int __thread__set_comm(struct thread *thread, const char *comm, u64 timestamp, bool exec)
static int thread__set_comm(struct thread *thread, const char *comm, u64 timestamp)
int thread__init_map_groups(struct thread *thread, struct machine *machine)
struct comm * thread__comm(const struct thread *thread)
int thread__fork(struct thread *thread, struct thread *parent, u64 timestamp)
int thread__insert_map(struct thread *thread, struct map *map)
struct thread * thread__get(struct thread *thread)
static void thread__set_priv(struct thread *thread, void *p)
struct intlist * tid_list
struct list_head namespaces_list
void thread__put(struct thread *thread)
static bool strlist__has_entry(struct strlist *slist, const char *entry)
static void * thread__priv(struct thread *thread)