Commit f088bbf4 authored by Vicent Marti's avatar Vicent Marti

cc: Move `bcc_resolve_symname` to its proper header

parent 411f698f
......@@ -16,6 +16,8 @@
#ifndef LIBBCC_PROC_H
#define LIBBCC_PROC_H
#include "bcc_syms.h"
#ifdef __cplusplus
extern "C" {
#endif
......@@ -30,9 +32,6 @@ int bcc_procutils_each_module(int pid, bcc_procutils_modulecb callback,
void *payload);
int bcc_procutils_each_ksym(bcc_procutils_ksymcb callback, void *payload);
int bcc_resolve_symname(const char *module, const char *symname,
const uint64_t addr, struct bcc_symbol *sym);
#ifdef __cplusplus
}
#endif
......
......@@ -31,6 +31,8 @@ int bcc_symcache_resolve(void *symcache, uint64_t addr, struct bcc_symbol *sym);
int bcc_symcache_resolve_name(void *resolver, const char *name, uint64_t *addr);
void bcc_symcache_refresh(void *resolver);
int bcc_resolve_symname(const char *module, const char *symname,
const uint64_t addr, struct bcc_symbol *sym);
#ifdef __cplusplus
}
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment