#ifndef __PERF_COMM_H
#define __PERF_COMM_H

#include "../perf.h"
#include <linux/rbtree.h>
#include <linux/list.h>

struct comm_str;

struct comm {
	struct comm_str *comm_str;
	u64 start;
	struct list_head list;
	bool exec;
	union { /* Tool specific area */
		void	*priv;
		u64	db_id;
	};
};

void comm__free(struct comm *comm);
struct comm *comm__new(const char *str, u64 timestamp, bool exec);
const char *comm__str(const struct comm *comm);
int comm__override(struct comm *comm, const char *str, u64 timestamp,
		   bool exec);

#endif  /* __PERF_COMM_H */
epository'/>
</head>
<body>
<div id='cgit'><table id='header'>
<tr>
<td class='logo' rowspan='2'><a href='/cgit.cgi/'><img src='/cgit.png' alt='cgit logo'/></a></td>
<td class='main'><a href='/cgit.cgi/'>index</a> : <a href='/cgit.cgi/linux/net-next.git/'>net-next.git</a></td><td class='form'><form method='get'>
<input type='hidden' name='id' value='ab78c1d286df46ddc7aeaef2c22e27b7ec061ecc'/><select name='h' onchange='this.form.submit();'>
<option value='emaclite-cleanup'>emaclite-cleanup</option>
<option value='master'>master</option>
<option value='nds-private-remove' selected='selected'>nds-private-remove</option>
<option value='packet-loop-back'>packet-loop-back</option>
<option value='packet-rx-pump-back'>packet-rx-pump-back</option>
</select> <input type='submit' value='switch'/></form></td></tr>
<tr><td class='sub'>net-next plumbings</td><td class='sub right'>Tobias Klauser</td></tr></table>
<table class='tabs'><tr><td>
<a href='/cgit.cgi/linux/net-next.git/?h=nds-private-remove'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?h=nds-private-remove&amp;id=ab78c1d286df46ddc7aeaef2c22e27b7ec061ecc'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/tools/build/Makefile?h=nds-private-remove'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/tools/build/Makefile?h=nds-private-remove&amp;id=ab78c1d286df46ddc7aeaef2c22e27b7ec061ecc'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/tools/build/Makefile?h=nds-private-remove&amp;id=ab78c1d286df46ddc7aeaef2c22e27b7ec061ecc'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/tools/build/Makefile?h=nds-private-remove&amp;id=ab78c1d286df46ddc7aeaef2c22e27b7ec061ecc'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/tools/build/Makefile'>
<input type='hidden' name='h' value='nds-private-remove'/><input type='hidden' name='id' value='ab78c1d286df46ddc7aeaef2c22e27b7ec061ecc'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/log/?h=nds-private-remove&amp;id=ab78c1d286df46ddc7aeaef2c22e27b7ec061ecc'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools?h=nds-private-remove&amp;id=ab78c1d286df46ddc7aeaef2c22e27b7ec061ecc'>tools</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools/build?h=nds-private-remove&amp;id=ab78c1d286df46ddc7aeaef2c22e27b7ec061ecc'>build</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools/build/Makefile?h=nds-private-remove&amp;id=ab78c1d286df46ddc7aeaef2c22e27b7ec061ecc'>Makefile</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message (<a href='/cgit.cgi/linux/net-next.git/log/tools/build/Makefile?h=nds-private-remove&amp;id=ab78c1d286df46ddc7aeaef2c22e27b7ec061ecc&amp;showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>