~ubuntu-branches/ubuntu/wily/ust/wily-proposed

« back to all changes in this revision

Viewing changes to include/lttng/tracepoint-types.h

  • Committer: Package Import Robot
  • Author(s): Jon Bernard
  • Date: 2012-06-29 16:47:49 UTC
  • mto: (11.2.1 sid) (1.2.1)
  • mto: This revision was merged to the branch mainline in revision 19.
  • Revision ID: package-import@ubuntu.com-20120629164749-mcca8f7w9ovcktj2
Tags: upstream-2.0.4
ImportĀ upstreamĀ versionĀ 2.0.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef _LTTNG_TRACEPOINT_TYPES_H
 
2
#define _LTTNG_TRACEPOINT_TYPES_H
 
3
 
 
4
/*
 
5
 * Copyright 2011-2012 - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
 
6
 *
 
7
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 
8
 * of this software and associated documentation files (the "Software"), to deal
 
9
 * in the Software without restriction, including without limitation the rights
 
10
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 
11
 * copies of the Software, and to permit persons to whom the Software is
 
12
 * furnished to do so, subject to the following conditions:
 
13
 *
 
14
 * The above copyright notice and this permission notice shall be included in
 
15
 * all copies or substantial portions of the Software.
 
16
 */
 
17
 
 
18
struct tracepoint_probe {
 
19
        void *func;
 
20
        void *data;
 
21
};
 
22
 
 
23
#define TRACEPOINT_PADDING      16
 
24
struct tracepoint {
 
25
        const char *name;
 
26
        int state;
 
27
        struct tracepoint_probe *probes;
 
28
        int *tracepoint_provider_ref;
 
29
        const char *signature;
 
30
        char padding[TRACEPOINT_PADDING];
 
31
};
 
32
 
 
33
#endif /* _LTTNG_TRACEPOINT_TYPES_H */