Searched refs:hist (Results 1 – 4 of 4) sorted by relevance
186 bp_slots_histogram_alloc(struct bp_slots_histogram *hist, enum bp_type_idx type) in bp_slots_histogram_alloc() argument188 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() argument194 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() argument243 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() argument252 const int count = atomic_read(&hist->count[i]); in bp_slots_histogram_max()[all …]
1657 enable_data->hist ? in event_enable_trigger_print()1733 bool hist = false; in event_enable_trigger_parse() local1757 hist = ((strcmp(cmd, ENABLE_HIST_STR) == 0) || in event_enable_trigger_parse()1771 enable_data->hist = hist; in event_enable_trigger_parse()
809 supported using hist triggers under this option.1099 dump out a bunch of internal details about the hist triggers1107 of the hist trigger internals as described by
1569 bool hist; member