thread.h (7d50d07da23995a18ac449636cb42aec2cb2808d) thread.h (591765fdaf7ea1888157f342b67b0461f2e5ed9b)
1#ifndef __PERF_THREAD_H
2#define __PERF_THREAD_H
3
4#include <linux/rbtree.h>
5#include <unistd.h>
6#include "symbol.h"
7
8struct thread {

--- 6 unchanged lines hidden (view full) ---

15 char shortname[3];
16 bool comm_set;
17 char *comm;
18 int comm_len;
19};
20
21struct perf_session;
22
1#ifndef __PERF_THREAD_H
2#define __PERF_THREAD_H
3
4#include <linux/rbtree.h>
5#include <unistd.h>
6#include "symbol.h"
7
8struct thread {

--- 6 unchanged lines hidden (view full) ---

15 char shortname[3];
16 bool comm_set;
17 char *comm;
18 int comm_len;
19};
20
21struct perf_session;
22
23void thread__delete(struct thread *self);
24
23int find_all_tid(int pid, pid_t ** all_tid);
24int thread__set_comm(struct thread *self, const char *comm);
25int thread__comm_len(struct thread *self);
26struct thread *perf_session__findnew(struct perf_session *self, pid_t pid);
27void thread__insert_map(struct thread *self, struct map *map);
28int thread__fork(struct thread *self, struct thread *parent);
29size_t perf_session__fprintf(struct perf_session *self, FILE *fp);
30

--- 17 unchanged lines hidden ---
25int find_all_tid(int pid, pid_t ** all_tid);
26int thread__set_comm(struct thread *self, const char *comm);
27int thread__comm_len(struct thread *self);
28struct thread *perf_session__findnew(struct perf_session *self, pid_t pid);
29void thread__insert_map(struct thread *self, struct map *map);
30int thread__fork(struct thread *self, struct thread *parent);
31size_t perf_session__fprintf(struct perf_session *self, FILE *fp);
32

--- 17 unchanged lines hidden ---