fix a kmap leak in virtio_console
[linux/fpc-iii.git] / tools / perf / util / comm.h
blobfac5bd51befc4c4a2b6aafe5cd21220829334673
1 #ifndef __PERF_COMM_H
2 #define __PERF_COMM_H
4 #include "../perf.h"
5 #include <linux/rbtree.h>
6 #include <linux/list.h>
8 struct comm_str;
10 struct comm {
11 struct comm_str *comm_str;
12 u64 start;
13 struct list_head list;
16 void comm__free(struct comm *comm);
17 struct comm *comm__new(const char *str, u64 timestamp);
18 const char *comm__str(const struct comm *comm);
19 int comm__override(struct comm *comm, const char *str, u64 timestamp);
21 #endif /* __PERF_COMM_H */