Searched refs:foo_timer_data (Results 1 – 2 of 2) sorted by relevance
97 static struct foo_timer_data *foo_timer_data; variable101 struct foo_timer_data *data = container_of(t, struct foo_timer_data, timer); in sample_timer_cb()149 foo_timer_data = kzalloc_obj(*foo_timer_data, GFP_KERNEL); in trace_event_init()150 if (!foo_timer_data) in trace_event_init()153 foo_timer_data->name = "sample_timer_counter"; in trace_event_init()154 foo_timer_data->counter = alloc_percpu(int); in trace_event_init()155 if (!foo_timer_data->counter) { in trace_event_init()156 kfree(foo_timer_data); in trace_event_init()160 timer_setup(&foo_timer_data->timer, sample_timer_cb, 0); in trace_event_init()161 mod_timer(&foo_timer_data->timer, jiffies + HZ); in trace_event_init()[all …]
276 struct foo_timer_data { struct610 TP_PROTO(struct foo_timer_data *data),