Searched refs:gcov_info (Results 1 - 5 of 5) sorted by relevance

/linux-4.4.14/kernel/gcov/
H A Dgcov.h36 /* Opaque gcov_info. The gcov structures can change as for example in gcc 4.7 so
40 struct gcov_info;
42 /* Interface to access gcov_info data */
43 const char *gcov_info_filename(struct gcov_info *info);
44 unsigned int gcov_info_version(struct gcov_info *info);
45 struct gcov_info *gcov_info_next(struct gcov_info *info);
46 void gcov_info_link(struct gcov_info *info);
47 void gcov_info_unlink(struct gcov_info *prev, struct gcov_info *info);
55 void gcov_event(enum gcov_action action, struct gcov_info *info);
62 struct gcov_iterator *gcov_iter_new(struct gcov_info *info);
67 struct gcov_info *gcov_iter_get_info(struct gcov_iterator *iter);
69 /* gcov_info control. */
70 void gcov_info_reset(struct gcov_info *info);
71 int gcov_info_is_compatible(struct gcov_info *info1, struct gcov_info *info2);
72 void gcov_info_add(struct gcov_info *dest, struct gcov_info *source);
73 struct gcov_info *gcov_info_dup(struct gcov_info *info);
74 void gcov_info_free(struct gcov_info *info);
H A Dgcc_3_4.c26 static struct gcov_info *gcov_info_head;
59 * struct gcov_info - profiling data per object file
72 struct gcov_info { struct
74 struct gcov_info *next;
87 const char *gcov_info_filename(struct gcov_info *info) gcov_info_filename()
96 unsigned int gcov_info_version(struct gcov_info *info) gcov_info_version()
105 * Returns next gcov_info following @info or first gcov_info in the chain if
108 struct gcov_info *gcov_info_next(struct gcov_info *info) gcov_info_next()
120 void gcov_info_link(struct gcov_info *info) gcov_info_link()
131 void gcov_info_unlink(struct gcov_info *prev, struct gcov_info *info) gcov_info_unlink()
149 static int counter_active(struct gcov_info *info, unsigned int type) counter_active()
155 static unsigned int num_counter_active(struct gcov_info *info) num_counter_active()
171 void gcov_info_reset(struct gcov_info *info) gcov_info_reset()
189 int gcov_info_is_compatible(struct gcov_info *info1, struct gcov_info *info2) gcov_info_is_compatible()
201 void gcov_info_add(struct gcov_info *dest, struct gcov_info *source) gcov_info_add()
215 static size_t get_fn_size(struct gcov_info *info) get_fn_size()
227 static struct gcov_fn_info *get_fn_info(struct gcov_info *info, unsigned int fn) get_fn_info()
239 struct gcov_info *gcov_info_dup(struct gcov_info *info) gcov_info_dup()
241 struct gcov_info *dup; gcov_info_dup()
245 /* Duplicate gcov_info. */ gcov_info_dup()
247 dup = kzalloc(sizeof(struct gcov_info) + gcov_info_dup()
287 void gcov_info_free(struct gcov_info *info) gcov_info_free()
335 struct gcov_info *info;
362 struct gcov_iterator *gcov_iter_new(struct gcov_info *info) gcov_iter_new()
388 struct gcov_info *gcov_iter_get_info(struct gcov_iterator *iter) gcov_iter_get_info()
H A Dgcc_4_7.c31 static struct gcov_info *gcov_info_head;
59 * array in gcov_info. The key is used to detect which of a set of
60 * comdat functions was selected -- it points to the gcov_info object
64 const struct gcov_info *key;
72 * struct gcov_info - profiling data per object file
84 struct gcov_info { struct
86 struct gcov_info *next;
98 const char *gcov_info_filename(struct gcov_info *info) gcov_info_filename()
107 unsigned int gcov_info_version(struct gcov_info *info) gcov_info_version()
116 * Returns next gcov_info following @info or first gcov_info in the chain if
119 struct gcov_info *gcov_info_next(struct gcov_info *info) gcov_info_next()
131 void gcov_info_link(struct gcov_info *info) gcov_info_link()
142 void gcov_info_unlink(struct gcov_info *prev, struct gcov_info *info) gcov_info_unlink()
159 static int counter_active(struct gcov_info *info, unsigned int type) counter_active()
165 static unsigned int num_counter_active(struct gcov_info *info) num_counter_active()
181 void gcov_info_reset(struct gcov_info *info) gcov_info_reset()
208 int gcov_info_is_compatible(struct gcov_info *info1, struct gcov_info *info2) gcov_info_is_compatible()
220 void gcov_info_add(struct gcov_info *dst, struct gcov_info *src) gcov_info_add()
252 struct gcov_info *gcov_info_dup(struct gcov_info *info) gcov_info_dup()
254 struct gcov_info *dup; gcov_info_dup()
321 void gcov_info_free(struct gcov_info *info) gcov_info_free()
361 struct gcov_info *info;
423 static size_t convert_to_gcda(char *buffer, struct gcov_info *info) convert_to_gcda()
476 struct gcov_iterator *gcov_iter_new(struct gcov_info *info) gcov_iter_new()
515 struct gcov_info *gcov_iter_get_info(struct gcov_iterator *iter) gcov_iter_get_info()
H A Dbase.c31 void __gcov_init(struct gcov_info *info) __gcov_init()
111 struct gcov_info *info = NULL; gcov_enable_events()
136 struct gcov_info *info = NULL; gcov_module_notifier()
137 struct gcov_info *prev = NULL; gcov_module_notifier()
H A Dfs.c55 struct gcov_info **loaded_info;
56 struct gcov_info *unloaded_info;
145 static struct gcov_info *get_node_info(struct gcov_node *node) get_node_info()
157 static struct gcov_info *get_accumulated_info(struct gcov_node *node) get_accumulated_info()
159 struct gcov_info *info; get_accumulated_info()
183 struct gcov_info *info; gcov_seq_open()
221 struct gcov_info *info; gcov_seq_release()
241 struct gcov_info *info; get_node_by_name()
276 struct gcov_info *info; gcov_seq_write()
412 static void init_node(struct gcov_node *node, struct gcov_info *info, init_node()
432 struct gcov_info *info, const char *name) new_node()
440 node->loaded_info = kcalloc(1, sizeof(struct gcov_info *), new_node()
571 static void add_node(struct gcov_info *info) add_node()
621 static void add_info(struct gcov_node *node, struct gcov_info *info) add_info()
623 struct gcov_info **loaded_info; add_info()
631 loaded_info = kcalloc(num + 1, sizeof(struct gcov_info *), GFP_KERNEL); add_info()
638 num * sizeof(struct gcov_info *)); add_info()
674 static int get_info_index(struct gcov_node *node, struct gcov_info *info) get_info_index()
688 static void save_info(struct gcov_node *node, struct gcov_info *info) save_info()
706 static void remove_info(struct gcov_node *node, struct gcov_info *info) remove_info()
735 void gcov_event(enum gcov_action action, struct gcov_info *info) gcov_event()

Completed in 93 milliseconds