Lines Matching defs:data
3 * This code exports profiling data as debugfs files to userspace.
8 * Uses gcc-internal data definitions.
37 * @loaded_info: array of pointers to profiling data sets for loaded object
39 * @num_loaded: number of profiling data sets for loaded object files.
40 * @unloaded_info: accumulated copy of profiling data sets for unloaded
42 * @dentry: main debugfs entry, either a directory or data file
44 * @name: data file basename
47 * of debugfs. There are directory and data file nodes. The latter represent
48 * the actual synthesized data file plus any associated symbolic links which
70 /* If non-zero, keep copies of profiling data for unloaded modules. */
89 * seq_file.start() implementation for gcov data files. Note that the
106 /* seq_file.next() implementation for gcov data files. */
107 static void *gcov_seq_next(struct seq_file *seq, void *data, loff_t *pos)
109 struct gcov_iterator *iter = data;
118 /* seq_file.show() implementation for gcov data files. */
119 static int gcov_seq_show(struct seq_file *seq, void *data)
121 struct gcov_iterator *iter = data;
128 static void gcov_seq_stop(struct seq_file *seq, void *data)
141 * Return a profiling data set associated with the given node. This is
142 * either a data set for a loaded object file or a data set copy in case
154 * Return a newly allocated profiling data set which contains the sum of
155 * all profiling data associated with the given node.
175 * open() implementation for gcov data files. Create a copy of the profiling
176 * data set and initialize the iterator and seq_file interface.
188 * Read from a profiling data copy to minimize reference tracking
190 * profiling data sets associated with one node simple.
215 * release() implementation for gcov data files. Release resources allocated
235 * Find a node by the associated data file name. Needs to be called with
253 * Reset all profiling data associated with the specified node.
268 * write() implementation for gcov data files. Reset profiling data for the
326 * gcov data file name and link type. Depending on the link type and the
327 * location of the data file, the link target can either point to a
364 * gcov tool expects to find in the same directory as the gcov data file.
444 /* Differentiate between gcov data file nodes and directory nodes. */
522 * write() implementation for reset file. Reset all profiling data to zero
561 * Create a node for a given profiling data set and add it to all lists and
611 * Associate a profiling data set with an existing node. Needs to be called
621 * case the new data set is incompatible, the node only contains
622 * unloaded data sets and there's not enough memory for the array.
633 /* Check if the new data set is compatible. */
637 * data set replaces the copy of the last one.
640 pr_warn("discarding saved data for %s "
665 * Return the index of a profiling data set associated with a node.
679 * Save the data of a profiling data set which is being unloaded.
688 pr_warn("could not save data for '%s' "
696 * Disassociate a profiling data set from a node. Needs to be called with
716 /* Last loaded data set was removed. */