dso.h (4f2c0a4acffbec01079c28f839422e64ddeff004) dso.h (7031edac9dbc0f880c9fbaa40ca08b5de34239c6)
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef __PERF_DSO
3#define __PERF_DSO
4
5#include <linux/refcount.h>
6#include <linux/types.h>
7#include <linux/rbtree.h>
8#include <sys/types.h>

--- 252 unchanged lines hidden (view full) ---

261
262bool dso__loaded(const struct dso *dso);
263
264static inline bool dso__has_symbols(const struct dso *dso)
265{
266 return !RB_EMPTY_ROOT(&dso->symbols.rb_root);
267}
268
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef __PERF_DSO
3#define __PERF_DSO
4
5#include <linux/refcount.h>
6#include <linux/types.h>
7#include <linux/rbtree.h>
8#include <sys/types.h>

--- 252 unchanged lines hidden (view full) ---

261
262bool dso__loaded(const struct dso *dso);
263
264static inline bool dso__has_symbols(const struct dso *dso)
265{
266 return !RB_EMPTY_ROOT(&dso->symbols.rb_root);
267}
268
269char *dso__filename_with_chroot(const struct dso *dso, const char *filename);
270
269bool dso__sorted_by_name(const struct dso *dso);
270void dso__set_sorted_by_name(struct dso *dso);
271void dso__sort_by_name(struct dso *dso);
272
273void dso__set_build_id(struct dso *dso, struct build_id *bid);
274bool dso__build_id_equal(const struct dso *dso, struct build_id *bid);
275void dso__read_running_kernel_build_id(struct dso *dso,
276 struct machine *machine);

--- 129 unchanged lines hidden ---
271bool dso__sorted_by_name(const struct dso *dso);
272void dso__set_sorted_by_name(struct dso *dso);
273void dso__sort_by_name(struct dso *dso);
274
275void dso__set_build_id(struct dso *dso, struct build_id *bid);
276bool dso__build_id_equal(const struct dso *dso, struct build_id *bid);
277void dso__read_running_kernel_build_id(struct dso *dso,
278 struct machine *machine);

--- 129 unchanged lines hidden ---