Resguardo inicial

This commit is contained in:
lastdragon
2026-09-06 12:53:21 -06:00
parent 662efe3c2a
commit ad2088d178
94853 changed files with 43200404 additions and 0 deletions
@@ -0,0 +1,33 @@
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _LINUX_TRACE_REMOTE_EVENTS_H
#define _LINUX_TRACE_REMOTE_EVENTS_H
struct trace_remote;
struct trace_event_fields;
struct trace_seq;
struct remote_event_hdr {
unsigned short id;
};
#define REMOTE_EVENT_NAME_MAX 30
struct remote_event {
char name[REMOTE_EVENT_NAME_MAX];
unsigned short id;
bool enabled;
struct trace_remote *remote;
struct trace_event_fields *fields;
char *print_fmt;
void (*print)(void *evt, struct trace_seq *seq);
};
#define RE_STRUCT(__args...) __args
#define re_field(__type, __field) __type __field;
#define REMOTE_EVENT_FORMAT(__name, __struct) \
struct remote_event_format_##__name { \
struct remote_event_hdr hdr; \
__struct \
}
#endif