mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
perf buildid: Move prototypes from util.h to build-id.h
Where they belong. Link: http://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
This commit is contained in:
parent
fd7647979a
commit
6db81643fe
3 changed files with 4 additions and 4 deletions
|
|
@ -1,7 +1,6 @@
|
|||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
#include <sys/epoll.h>
|
||||
#include <util/util.h>
|
||||
#include <util/evlist.h>
|
||||
#include <linux/filter.h>
|
||||
#include "tests.h"
|
||||
|
|
|
|||
|
|
@ -44,6 +44,10 @@ bool build_id_cache__cached(const char *sbuild_id);
|
|||
int build_id_cache__add_s(const char *sbuild_id,
|
||||
const char *name, bool is_kallsyms, bool is_vdso);
|
||||
int build_id_cache__remove_s(const char *sbuild_id);
|
||||
|
||||
extern char buildid_dir[];
|
||||
|
||||
void set_buildid_dir(const char *dir);
|
||||
void disable_buildid_cache(void);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -14,8 +14,6 @@
|
|||
#include <stdarg.h>
|
||||
#include <linux/types.h>
|
||||
|
||||
extern char buildid_dir[];
|
||||
|
||||
#ifdef __GNUC__
|
||||
#define NORETURN __attribute__((__noreturn__))
|
||||
#else
|
||||
|
|
@ -36,7 +34,6 @@ void warning(const char *err, ...) __attribute__((format (printf, 1, 2)));
|
|||
void set_warning_routine(void (*routine)(const char *err, va_list params));
|
||||
|
||||
int prefixcmp(const char *str, const char *prefix);
|
||||
void set_buildid_dir(const char *dir);
|
||||
|
||||
static inline void *zalloc(size_t size)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue