]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blame - tools/perf/util/comm.h
UBUNTU: Remove squashfs-modules files from d-i
[mirror_ubuntu-zesty-kernel.git] / tools / perf / util / comm.h
CommitLineData
1902efe7
FW
1#ifndef __PERF_COMM_H
2#define __PERF_COMM_H
3
4#include "../perf.h"
5#include <linux/rbtree.h>
6#include <linux/list.h>
7
8struct comm_str;
9
10struct comm {
11 struct comm_str *comm_str;
12 u64 start;
13 struct list_head list;
65de51f9 14 bool exec;
0db15b1e
AH
15 union { /* Tool specific area */
16 void *priv;
17 u64 db_id;
18 };
1902efe7
FW
19};
20
21void comm__free(struct comm *comm);
65de51f9 22struct comm *comm__new(const char *str, u64 timestamp, bool exec);
1902efe7 23const char *comm__str(const struct comm *comm);
65de51f9
AH
24int comm__override(struct comm *comm, const char *str, u64 timestamp,
25 bool exec);
1902efe7
FW
26
27#endif /* __PERF_COMM_H */