perf build-id: Add build_id_cache__add function
Adding build_id_cache__add function as core function that adds file into build id database. It will be set from another callers in following changes. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Acked-by: Ian Rogers <irogers@google.com> Acked-by: Namhyung Kim <namhyung@kernel.org> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Alexey Budankov <alexey.budankov@linux.intel.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Michael Petlan <mpetlan@redhat.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Song Liu <songliubraving@fb.com> Cc: Stephane Eranian <eranian@google.com> Link: http://lore.kernel.org/lkml/20201126170026.2619053-22-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
committed by
Arnaldo Carvalho de Melo
parent
75fb2af68e
commit
fd4ebb457c
@@ -63,6 +63,8 @@ char *build_id_cache__complement(const char *incomplete_sbuild_id);
|
||||
int build_id_cache__list_build_ids(const char *pathname, struct nsinfo *nsi,
|
||||
struct strlist **result);
|
||||
bool build_id_cache__cached(const char *sbuild_id);
|
||||
int build_id_cache__add(const char *sbuild_id, const char *name, const char *realname,
|
||||
struct nsinfo *nsi, bool is_kallsyms, bool is_vdso);
|
||||
int build_id_cache__add_s(const char *sbuild_id,
|
||||
const char *name, struct nsinfo *nsi,
|
||||
bool is_kallsyms, bool is_vdso);
|
||||
|
Reference in New Issue
Block a user