⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
LTTng-UST
All Projects
LTTng
»
LTTng-UST
Overview
Activity
Roadmap
Issues
Gantt
Calendar
News
Repository
Download (709 Bytes)
Bug #142
» sample_tracepoint.h
Yannick Brosseau, 03/01/2012 10:43 AM
#undef TRACEPOINT_PROVIDER
#define TRACEPOINT_PROVIDER sample_tracepoint
#undef TRACEPOINT_INCLUDE_FILE
#define TRACEPOINT_INCLUDE_FILE ./sample_tracepoint.h
#ifdef __cplusplus
#extern "C"{
#endif
/*__cplusplus */
#if !defined(_SAMPLE_TRACEPOINT_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
#define _SAMPLE_TRACEPOINT_H
#include
<lttng/tracepoint.h>
TRACEPOINT_EVENT
(
sample_tracepoint
,
message
,
// C++ Style comment
TP_ARGS
(
char
*
,
text
),
TP_FIELDS
(
ctf_string
(
message
,
text
)
)
)
/*
* Longer comments
*/
TRACEPOINT_LOGLEVEL
(
sample_tracepoint
,
message
,
TRACE_WARNING
)
#endif
/* _SAMPLE_TRACEPOINT_H */
#include
<lttng/tracepoint-event.h>
#ifdef __cplusplus
}
#endif
/*__cplusplus */
« Previous
1
2
3
4
Next »
(4-4/4)
Loading...