Home
last modified time | relevance | path

Searched refs:hist (Results 1 – 4 of 4) sorted by relevance

/kernel/events/
Dhw_breakpoint.c186 bp_slots_histogram_alloc(struct bp_slots_histogram *hist, enum bp_type_idx type) in bp_slots_histogram_alloc() argument
188 hist->count = kcalloc(hw_breakpoint_slots_cached(type), sizeof(*hist->count), GFP_KERNEL); in bp_slots_histogram_alloc()
189 return hist->count; in bp_slots_histogram_alloc()
192 static __init void bp_slots_histogram_free(struct bp_slots_histogram *hist) in bp_slots_histogram_free() argument
194 kfree(hist->count); in bp_slots_histogram_free()
237 bp_slots_histogram_add(struct bp_slots_histogram *hist, int old, int val) in bp_slots_histogram_add() argument
243 WARN_ON(atomic_dec_return_relaxed(&hist->count[old_idx]) < 0); in bp_slots_histogram_add()
245 WARN_ON(atomic_inc_return_relaxed(&hist->count[new_idx]) < 0); in bp_slots_histogram_add()
249 bp_slots_histogram_max(struct bp_slots_histogram *hist, enum bp_type_idx type) in bp_slots_histogram_max() argument
252 const int count = atomic_read(&hist->count[i]); in bp_slots_histogram_max()
[all …]
/kernel/trace/
Dtrace_events_trigger.c1657 enable_data->hist ? in event_enable_trigger_print()
1733 bool hist = false; in event_enable_trigger_parse() local
1757 hist = ((strcmp(cmd, ENABLE_HIST_STR) == 0) || in event_enable_trigger_parse()
1771 enable_data->hist = hist; in event_enable_trigger_parse()
DKconfig809 supported using hist triggers under this option.
1099 dump out a bunch of internal details about the hist triggers
1107 of the hist trigger internals as described by
Dtrace.h1569 bool hist; member