ARM: dts: kirkwood: gpio-leds fixes for linkstation ls-wvl/vl
[linux/fpc-iii.git] / tools / perf / util / comm.h
blob71c9c39340d4bf52a8b117c0927896501970b357
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;
14 bool exec;
15 union { /* Tool specific area */
16 void *priv;
17 u64 db_id;
21 void comm__free(struct comm *comm);
22 struct comm *comm__new(const char *str, u64 timestamp, bool exec);
23 const char *comm__str(const struct comm *comm);
24 int comm__override(struct comm *comm, const char *str, u64 timestamp,
25 bool exec);
27 #endif /* __PERF_COMM_H */