#include "comm.h"
#include "util.h"
#include <errno.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <linux/refcount.h>
#include "rwsem.h"
Go to the source code of this file.
◆ __comm_str__findnew()
static struct comm_str* __comm_str__findnew |
( |
const char * |
str, |
|
|
struct rb_root * |
root |
|
) |
| |
|
static |
◆ comm__free()
void comm__free |
( |
struct comm * |
comm | ) |
|
◆ comm__new()
struct comm* comm__new |
( |
const char * |
str, |
|
|
u64 |
timestamp, |
|
|
bool |
exec |
|
) |
| |
◆ comm__override()
int comm__override |
( |
struct comm * |
comm, |
|
|
const char * |
str, |
|
|
u64 |
timestamp, |
|
|
bool |
exec |
|
) |
| |
◆ comm__str()
const char* comm__str |
( |
const struct comm * |
comm | ) |
|
◆ comm_str__alloc()
static struct comm_str* comm_str__alloc |
( |
const char * |
str | ) |
|
|
static |
◆ comm_str__findnew()
static struct comm_str* comm_str__findnew |
( |
const char * |
str, |
|
|
struct rb_root * |
root |
|
) |
| |
|
static |
◆ comm_str__get()
◆ comm_str__put()
static void comm_str__put |
( |
struct comm_str * |
cs | ) |
|
|
static |
◆ comm_str_lock
struct rw_semaphore comm_str_lock = {.lock = PTHREAD_RWLOCK_INITIALIZER,} |
|
static |
◆ comm_str_root
struct rb_root comm_str_root |
|
static |