Linux Perf
builtin-buildid-cache.c File Reference
#include <sys/types.h>
#include <sys/time.h>
#include <time.h>
#include <dirent.h>
#include <errno.h>
#include <unistd.h>
#include "builtin.h"
#include "perf.h"
#include "namespaces.h"
#include "util/cache.h"
#include "util/debug.h"
#include "util/header.h"
#include <subcmd/parse-options.h>
#include "util/strlist.h"
#include "util/build-id.h"
#include "util/session.h"
#include "util/symbol.h"
#include "util/time-utils.h"
#include "util/probe-file.h"
Include dependency graph for builtin-buildid-cache.c:

Go to the source code of this file.

Functions

static int build_id_cache__kcore_buildid (const char *proc_dir, char *sbuildid)
 
static int build_id_cache__kcore_dir (char *dir, size_t sz)
 
static bool same_kallsyms_reloc (const char *from_dir, char *to_dir)
 
static int build_id_cache__kcore_existing (const char *from_dir, char *to_dir, size_t to_dir_sz)
 
static int build_id_cache__add_kcore (const char *filename, bool force)
 
static int build_id_cache__add_file (const char *filename, struct nsinfo *nsi)
 
static int build_id_cache__remove_file (const char *filename, struct nsinfo *nsi)
 
static int build_id_cache__purge_path (const char *pathname, struct nsinfo *nsi)
 
static int build_id_cache__purge_all (void)
 
static bool dso__missing_buildid_cache (struct dso *dso, int parm __maybe_unused)
 
static int build_id_cache__fprintf_missing (struct perf_session *session, FILE *fp)
 
static int build_id_cache__update_file (const char *filename, struct nsinfo *nsi)
 
static int build_id_cache__show_all (void)
 
int cmd_buildid_cache (int argc, const char **argv)
 

Function Documentation

◆ build_id_cache__add_file()

static int build_id_cache__add_file ( const char *  filename,
struct nsinfo nsi 
)
static

Definition at line 171 of file builtin-buildid-cache.c.

Here is the call graph for this function:

◆ build_id_cache__add_kcore()

static int build_id_cache__add_kcore ( const char *  filename,
bool  force 
)
static

Definition at line 114 of file builtin-buildid-cache.c.

Here is the call graph for this function:

◆ build_id_cache__fprintf_missing()

static int build_id_cache__fprintf_missing ( struct perf_session session,
FILE *  fp 
)
static

Definition at line 292 of file builtin-buildid-cache.c.

Here is the call graph for this function:

◆ build_id_cache__kcore_buildid()

static int build_id_cache__kcore_buildid ( const char *  proc_dir,
char *  sbuildid 
)
static

Definition at line 30 of file builtin-buildid-cache.c.

Here is the call graph for this function:

◆ build_id_cache__kcore_dir()

static int build_id_cache__kcore_dir ( char *  dir,
size_t  sz 
)
static

Definition at line 44 of file builtin-buildid-cache.c.

Here is the call graph for this function:

◆ build_id_cache__kcore_existing()

static int build_id_cache__kcore_existing ( const char *  from_dir,
char *  to_dir,
size_t  to_dir_sz 
)
static

Definition at line 75 of file builtin-buildid-cache.c.

Here is the call graph for this function:

◆ build_id_cache__purge_all()

static int build_id_cache__purge_all ( void  )
static

Definition at line 243 of file builtin-buildid-cache.c.

Here is the call graph for this function:

◆ build_id_cache__purge_path()

static int build_id_cache__purge_path ( const char *  pathname,
struct nsinfo nsi 
)
static

Definition at line 218 of file builtin-buildid-cache.c.

Here is the call graph for this function:

◆ build_id_cache__remove_file()

static int build_id_cache__remove_file ( const char *  filename,
struct nsinfo nsi 
)
static

Definition at line 194 of file builtin-buildid-cache.c.

Here is the call graph for this function:

◆ build_id_cache__show_all()

static int build_id_cache__show_all ( void  )
static

Definition at line 329 of file builtin-buildid-cache.c.

Here is the call graph for this function:

◆ build_id_cache__update_file()

static int build_id_cache__update_file ( const char *  filename,
struct nsinfo nsi 
)
static

Definition at line 298 of file builtin-buildid-cache.c.

Here is the call graph for this function:

◆ cmd_buildid_cache()

int cmd_buildid_cache ( int  argc,
const char **  argv 
)

Definition at line 349 of file builtin-buildid-cache.c.

Here is the call graph for this function:

◆ dso__missing_buildid_cache()

static bool dso__missing_buildid_cache ( struct dso dso,
int parm  __maybe_unused 
)
static

Definition at line 271 of file builtin-buildid-cache.c.

Here is the call graph for this function:

◆ same_kallsyms_reloc()

static bool same_kallsyms_reloc ( const char *  from_dir,
char *  to_dir 
)
static

Definition at line 49 of file builtin-buildid-cache.c.

Here is the call graph for this function: