Home
last modified time | relevance | path

Searched refs:hist_field (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/kernel/kernel/trace/
H A Dtrace_events_hist.c81 struct hist_field;
83 typedef u64 (*hist_field_fn_t) (struct hist_field *field,
115 struct hist_field { struct
124 struct hist_field *operands[HIST_FIELD_OPERANDS_MAX]; argument
155 static u64 hist_field_none(struct hist_field *field, in hist_field_none() argument
163 static u64 hist_field_counter(struct hist_field *field, in hist_field_counter()
171 static u64 hist_field_string(struct hist_field *hist_field, in hist_field_string() argument
176 char *addr = (char *)(event + hist_field->field->offset); in hist_field_string()
181 static u64 hist_field_dynstring(struct hist_field *hist_field, in hist_field_dynstring() argument
186 u32 str_item = *(u32 *)(event + hist_field->field->offset); in hist_field_dynstring()
[all …]
/OK3568_Linux_fs/kernel/Documentation/trace/
H A Dhistogram-design.rst75 an array containing struct hist_field representations of each
82 Each struct hist_field contains a pointer to the ftrace_event_field
163 entry in the map_elt.fields[] array corresponding to each hist_field | |
232 hist_data.fields = struct hist_field
241 is just one subkey corresponding to pid), the hist_field that
258 created. hist_trigger_elt_update() goes through each value hist_field
259 and, as for the keys, uses the hist_field's fn() and size and offset
262 continually-updated tracing_map_field.sum member. Some hist_field
371 as another type of hist_field and for a given hist trigger are added
375 make use of a new .var.idx field member in struct hist_field, which
[all …]