Home
last modified time | relevance | path

Searched refs:elt (Results 1 – 3 of 3) sorted by relevance

/kernel/trace/
Dtracing_map.c39 void tracing_map_update_sum(struct tracing_map_elt *elt, unsigned int i, u64 n) in tracing_map_update_sum() argument
41 atomic64_add(n, &elt->fields[i].sum); in tracing_map_update_sum()
56 u64 tracing_map_read_sum(struct tracing_map_elt *elt, unsigned int i) in tracing_map_read_sum() argument
58 return (u64)atomic64_read(&elt->fields[i].sum); in tracing_map_read_sum()
71 void tracing_map_set_var(struct tracing_map_elt *elt, unsigned int i, u64 n) in tracing_map_set_var() argument
73 atomic64_set(&elt->vars[i], n); in tracing_map_set_var()
74 elt->var_set[i] = true; in tracing_map_set_var()
86 bool tracing_map_var_set(struct tracing_map_elt *elt, unsigned int i) in tracing_map_var_set() argument
88 return elt->var_set[i]; in tracing_map_var_set()
103 u64 tracing_map_read_var(struct tracing_map_elt *elt, unsigned int i) in tracing_map_read_var() argument
[all …]
Dtracing_map.h159 struct tracing_map_elt *elt; member
234 int (*elt_alloc)(struct tracing_map_elt *elt);
235 void (*elt_free)(struct tracing_map_elt *elt);
236 void (*elt_clear)(struct tracing_map_elt *elt);
237 void (*elt_init)(struct tracing_map_elt *elt);
266 extern void tracing_map_update_sum(struct tracing_map_elt *elt,
268 extern void tracing_map_set_var(struct tracing_map_elt *elt,
270 extern bool tracing_map_var_set(struct tracing_map_elt *elt, unsigned int i);
271 extern u64 tracing_map_read_sum(struct tracing_map_elt *elt, unsigned int i);
272 extern u64 tracing_map_read_var(struct tracing_map_elt *elt, unsigned int i);
[all …]
Dtrace_events_hist.c84 struct tracing_map_elt *elt,
156 struct tracing_map_elt *elt, in hist_field_none() argument
164 struct tracing_map_elt *elt, in hist_field_counter() argument
172 struct tracing_map_elt *elt, in hist_field_string() argument
182 struct tracing_map_elt *elt, in hist_field_dynstring() argument
194 struct tracing_map_elt *elt, in hist_field_pstring() argument
204 struct tracing_map_elt *elt, in hist_field_log2() argument
210 u64 val = operand->fn(operand, elt, rbe, event); in hist_field_log2()
216 struct tracing_map_elt *elt, in hist_field_plus() argument
223 u64 val1 = operand1->fn(operand1, elt, rbe, event); in hist_field_plus()
[all …]