Linux Perf
llvm-utils.h File Reference
#include "debug.h"
Include dependency graph for llvm-utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  llvm_param
 

Functions

int perf_llvm_config (const char *var, const char *value)
 
int llvm__compile_bpf (const char *path, void **p_obj_buf, size_t *p_obj_buf_sz)
 
int llvm__search_clang (void)
 
void llvm__get_kbuild_opts (char **kbuild_dir, char **kbuild_include_opts)
 
int llvm__get_nr_cpus (void)
 
void llvm__dump_obj (const char *path, void *obj_buf, size_t size)
 

Variables

struct llvm_param llvm_param
 

Function Documentation

◆ llvm__compile_bpf()

int llvm__compile_bpf ( const char *  path,
void **  p_obj_buf,
size_t *  p_obj_buf_sz 
)

Definition at line 424 of file llvm-utils.c.

Here is the call graph for this function:

◆ llvm__dump_obj()

void llvm__dump_obj ( const char *  path,
void *  obj_buf,
size_t  size 
)

Definition at line 389 of file llvm-utils.c.

Here is the call graph for this function:

◆ llvm__get_kbuild_opts()

void llvm__get_kbuild_opts ( char **  kbuild_dir,
char **  kbuild_include_opts 
)

Definition at line 291 of file llvm-utils.c.

Here is the call graph for this function:

◆ llvm__get_nr_cpus()

int llvm__get_nr_cpus ( void  )

Definition at line 371 of file llvm-utils.c.

◆ llvm__search_clang()

int llvm__search_clang ( void  )

Definition at line 545 of file llvm-utils.c.

Here is the call graph for this function:

◆ perf_llvm_config()

int perf_llvm_config ( const char *  var,
const char *  value 
)

Definition at line 36 of file llvm-utils.c.

Here is the call graph for this function:

Variable Documentation

◆ llvm_param

Definition at line 27 of file llvm-utils.c.