#include <sys/types.h>
#include <stdio.h>
#include <linux/refcount.h>
Go to the source code of this file.
|
| struct thread_map * | thread_map__new_dummy (void) |
| |
| struct thread_map * | thread_map__new_by_pid (pid_t pid) |
| |
| struct thread_map * | thread_map__new_by_tid (pid_t tid) |
| |
| struct thread_map * | thread_map__new_by_uid (uid_t uid) |
| |
| struct thread_map * | thread_map__new_all_cpus (void) |
| |
| struct thread_map * | thread_map__new (pid_t pid, pid_t tid, uid_t uid) |
| |
| struct thread_map * | thread_map__new_event (struct thread_map_event *event) |
| |
| struct thread_map * | thread_map__get (struct thread_map *map) |
| |
| void | thread_map__put (struct thread_map *map) |
| |
| struct thread_map * | thread_map__new_str (const char *pid, const char *tid, uid_t uid, bool all_threads) |
| |
| struct thread_map * | thread_map__new_by_tid_str (const char *tid_str) |
| |
| size_t | thread_map__fprintf (struct thread_map *threads, FILE *fp) |
| |
| static int | thread_map__nr (struct thread_map *threads) |
| |
| static pid_t | thread_map__pid (struct thread_map *map, int thread) |
| |
| static void | thread_map__set_pid (struct thread_map *map, int thread, pid_t pid) |
| |
| static char * | thread_map__comm (struct thread_map *map, int thread) |
| |
| void | thread_map__read_comms (struct thread_map *threads) |
| |
| bool | thread_map__has (struct thread_map *threads, pid_t pid) |
| |
| int | thread_map__remove (struct thread_map *threads, int idx) |
| |
◆ thread_map__comm()
| static char* thread_map__comm |
( |
struct thread_map * |
map, |
|
|
int |
thread |
|
) |
| |
|
inlinestatic |
◆ thread_map__fprintf()
| size_t thread_map__fprintf |
( |
struct thread_map * |
threads, |
|
|
FILE * |
fp |
|
) |
| |
◆ thread_map__get()
◆ thread_map__has()
| bool thread_map__has |
( |
struct thread_map * |
threads, |
|
|
pid_t |
pid |
|
) |
| |
◆ thread_map__new()
| struct thread_map* thread_map__new |
( |
pid_t |
pid, |
|
|
pid_t |
tid, |
|
|
uid_t |
uid |
|
) |
| |
◆ thread_map__new_all_cpus()
| struct thread_map* thread_map__new_all_cpus |
( |
void |
| ) |
|
◆ thread_map__new_by_pid()
| struct thread_map* thread_map__new_by_pid |
( |
pid_t |
pid | ) |
|
◆ thread_map__new_by_tid()
| struct thread_map* thread_map__new_by_tid |
( |
pid_t |
tid | ) |
|
◆ thread_map__new_by_tid_str()
| struct thread_map* thread_map__new_by_tid_str |
( |
const char * |
tid_str | ) |
|
◆ thread_map__new_by_uid()
| struct thread_map* thread_map__new_by_uid |
( |
uid_t |
uid | ) |
|
◆ thread_map__new_dummy()
◆ thread_map__new_event()
◆ thread_map__new_str()
| struct thread_map* thread_map__new_str |
( |
const char * |
pid, |
|
|
const char * |
tid, |
|
|
uid_t |
uid, |
|
|
bool |
all_threads |
|
) |
| |
◆ thread_map__nr()
| static int thread_map__nr |
( |
struct thread_map * |
threads | ) |
|
|
inlinestatic |
◆ thread_map__pid()
| static pid_t thread_map__pid |
( |
struct thread_map * |
map, |
|
|
int |
thread |
|
) |
| |
|
inlinestatic |
◆ thread_map__put()
◆ thread_map__read_comms()
| void thread_map__read_comms |
( |
struct thread_map * |
threads | ) |
|
◆ thread_map__remove()
| int thread_map__remove |
( |
struct thread_map * |
threads, |
|
|
int |
idx |
|
) |
| |
◆ thread_map__set_pid()
| static void thread_map__set_pid |
( |
struct thread_map * |
map, |
|
|
int |
thread, |
|
|
pid_t |
pid |
|
) |
| |
|
inlinestatic |