Home
last modified time | relevance | path

Searched refs:item (Results 1 – 5 of 5) sorted by relevance

/kernel/trace/
Dtrace_export.c31 #define __field_struct(type, item) argument
34 #define __field(type, item) type item; argument
37 #define __field_desc(type, container, item) type item; argument
40 #define __array(type, item, size) type item[size]; argument
43 #define __array_desc(type, container, item, size) type item[size]; argument
46 #define __dynamic_array(type, item) type item[]; argument
75 #define __field(type, item) \ argument
76 ret = trace_define_field(event_call, #type, #item, \
77 offsetof(typeof(field), item), \
78 sizeof(field.item), \
[all …]
Dtrace.h48 #define __field(type, item) type item; argument
51 #define __field_struct(type, item) __field(type, item) argument
54 #define __field_desc(type, container, item) argument
57 #define __array(type, item, size) type item[size]; argument
60 #define __array_desc(type, container, item, size) argument
63 #define __dynamic_array(type, item) type item[]; argument
Dtrace_probe.h54 #define DEFINE_FIELD(type, item, name, is_signed) \ argument
57 offsetof(typeof(field), item), \
58 sizeof(field.item), is_signed, \
Dring_buffer.c4765 struct rb_item *item; in rb_write_something() local
4801 item = ring_buffer_event_data(event); in rb_write_something()
4802 item->size = size; in rb_write_something()
4803 memcpy(item->str, rb_string, size); in rb_write_something()
4942 struct rb_item *item; in test_ringbuffer() local
4980 item = ring_buffer_event_data(event); in test_ringbuffer()
4982 total_size += item->size + sizeof(struct rb_item); in test_ringbuffer()
4983 if (memcmp(&item->str[0], rb_string, item->size) != 0) { in test_ringbuffer()
4985 pr_info("buffer had: %.*s\n", item->size, item->str); in test_ringbuffer()
4986 pr_info("expected: %.*s\n", item->size, rb_string); in test_ringbuffer()
Dtrace_events.c153 #define __generic_field(type, item, filter_type) \ argument
155 #item, 0, 0, is_signed_type(type), \
160 #define __common_field(type, item) \ argument
162 "common_" #item, \
163 offsetof(typeof(ent), item), \
164 sizeof(ent.item), \