Searched refs:hist_field (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/kernel/trace/ |
H A D | trace_events_hist.c | 85 struct hist_field; 87 typedef u64 (*hist_field_fn_t) (struct hist_field *field, 157 struct hist_field { struct 162 struct hist_field *operands[HIST_FIELD_OPERANDS_MAX]; argument 203 static u64 hist_fn_call(struct hist_field *hist_field, argument 209 static u64 hist_field_const(struct hist_field *field, in hist_field_const() 218 static u64 hist_field_counter(struct hist_field *field, in hist_field_counter() 227 static u64 hist_field_string(struct hist_field *hist_field, in hist_field_string() argument 233 char *addr = (char *)(event + hist_field->field->offset); in hist_field_string() 238 static u64 hist_field_dynstring(struct hist_field *hist_field, in hist_field_dynstring() argument [all …]
|
/openbmc/linux/Documentation/trace/ |
H A D | histogram-design.rst | 75 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 …]
|