/*
 * intel-bts.h: Intel Processor Trace support
 * Copyright (c) 2013-2014, Intel Corporation.
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms and conditions of the GNU General Public License,
 * version 2, as published by the Free Software Foundation.
 *
 * This program is distributed in the hope it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
 * more details.
 *
 */

#ifndef INCLUDE__PERF_INTEL_BTS_H__
#define INCLUDE__PERF_INTEL_BTS_H__

#define INTEL_BTS_PMU_NAME "intel_bts"

enum {
	INTEL_BTS_PMU_TYPE,
	INTEL_BTS_TIME_SHIFT,
	INTEL_BTS_TIME_MULT,
	INTEL_BTS_TIME_ZERO,
	INTEL_BTS_CAP_USER_TIME_ZERO,
	INTEL_BTS_SNAPSHOT_MODE,
	INTEL_BTS_AUXTRACE_PRIV_MAX,
};

#define INTEL_BTS_AUXTRACE_PRIV_SIZE (INTEL_BTS_AUXTRACE_PRIV_MAX * sizeof(u64))

struct auxtrace_record;
struct perf_tool;
union perf_event;
struct perf_session;

struct auxtrace_record *intel_bts_recording_init(int *err);

int intel_bts_process_auxtrace_info(union perf_event *event,
				    struct perf_session *session);

#endif
ket-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/'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?id=29905b52fad0854351f57bab867647e4982285bf'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/include/net/gro_cells.h'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/include/net/gro_cells.h?id=29905b52fad0854351f57bab867647e4982285bf'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/include/net/gro_cells.h?id=29905b52fad0854351f57bab867647e4982285bf'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/include/net/gro_cells.h?id=29905b52fad0854351f57bab867647e4982285bf'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/include/net/gro_cells.h'>
<input type='hidden' name='id' value='29905b52fad0854351f57bab867647e4982285bf'/><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/?id=29905b52fad0854351f57bab867647e4982285bf'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/include?id=29905b52fad0854351f57bab867647e4982285bf'>include</a>/<a href='/cgit.cgi/linux/net-next.git/log/include/net?id=29905b52fad0854351f57bab867647e4982285bf'>net</a>/<a href='/cgit.cgi/linux/net-next.git/log/include/net/gro_cells.h?id=29905b52fad0854351f57bab867647e4982285bf'>gro_cells.h</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/include/net/gro_cells.h?id=29905b52fad0854351f57bab867647e4982285bf&amp;showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>