|
#undef TRACEPOINT_PROVIDER
|
|
#define TRACEPOINT_PROVIDER simpletp
|
|
|
|
/*
|
|
* include file (this files's name)
|
|
*/
|
|
#undef TRACEPOINT_INCLUDE
|
|
#define TRACEPOINT_INCLUDE "./simpletp.h"
|
|
|
|
#if !defined(_SIMPLETP_PROVIDER_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
|
|
#define _SIMPLETP_PROVIDER_H
|
|
|
|
#include <lttng/tracepoint.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif /* __cplusplus */
|
|
|
|
// 254 char name
|
|
TRACEPOINT_EVENT(
|
|
simpletp,
|
|
event____20________30________40________50________60________70________80________90_______100_______110_______120_______130_______140_______150_______160_______170_______180_______190_______200_______210_______220_______230_______240_______250___4,
|
|
TP_ARGS(const char *, text),
|
|
TP_FIELDS(
|
|
ctf_string(message, text)
|
|
)
|
|
)
|
|
|
|
// 255 char name
|
|
TRACEPOINT_EVENT(
|
|
simpletp,
|
|
event____20________30________40________50________60________70________80________90_______100_______110_______120_______130_______140_______150_______160_______170_______180_______190_______200_______210_______220_______230_______240_______250____5,
|
|
TP_ARGS(const char *, text),
|
|
TP_FIELDS(
|
|
ctf_string(message, text)
|
|
)
|
|
)
|
|
|
|
// 256 char name
|
|
TRACEPOINT_EVENT(
|
|
simpletp,
|
|
event____20________30________40________50________60________70________80________90_______100_______110_______120_______130_______140_______150_______160_______170_______180_______190_______200_______210_______220_______230_______240_______250_____6,
|
|
TP_ARGS(const char *, text),
|
|
TP_FIELDS(
|
|
ctf_string(message, text)
|
|
)
|
|
)
|
|
// 257 char name
|
|
TRACEPOINT_EVENT(
|
|
simpletp,
|
|
event____20________30________40________50________60________70________80________90_______100_______110_______120_______130_______140_______150_______160_______170_______180_______190_______200_______210_______220_______230_______240_______250______7,
|
|
TP_ARGS(const char *, text),
|
|
TP_FIELDS(
|
|
ctf_string(billet, "257!")
|
|
)
|
|
/*
|
|
TP_ARGS(int, value),
|
|
TP_FIELDS(
|
|
ctf_integer(int, integer, value)
|
|
)
|
|
*/
|
|
)
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif /* __cplusplus */
|
|
|
|
#include <lttng/tracepoint-event.h>
|
|
|
|
#endif /* _SIMPLETP_PROVIDER_H */
|