#ifndef _PACKET_H
#define _PACKET_H

#include <linux/kmemprof.h>

struct kmemprof_trace_packet {
	enum kmemprof_event_type type;
	int flags;
	unsigned int cache_size;
	unsigned long cache_name_id;	/* index of the strtab */
	void * objp;

	unsigned long jiffies;
	unsigned long eip;
	unsigned long interrupt;

	pid_t pid;
	pid_t pgrp;
	unsigned long comm_id;		/* index of the strtab */
};

#endif /* _PACKET_H */

