File: ctracer_relay.h

package info (click to toggle)
dwarves-dfsg 1.12-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 812 kB
  • sloc: ansic: 14,573; python: 903; makefile: 36
file content (23 lines) | stat: -rw-r--r-- 657 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef _CTRACER_RELAY_H_
#define _CTRACER_RELAY_H_ 1
/* 
  Copyright (C) 2007 Arnaldo Carvalho de Melo <acme@redhat.com>

  This program is free software; you can redistribute it and/or modify it
  under the terms of version 2 of the GNU General Public License as
  published by the Free Software Foundation.
*/

struct trace_entry {
	unsigned long long nsec;
	unsigned long long probe_type:1; /* Entry or exit */
	unsigned long long function_id:63;
	const void	   *object;
};

void ctracer__method_hook(const unsigned long long now,
			  const int probe_type,
			  const unsigned long long function,
			  const void *object, const int state_len);

#endif