Linux Perf
unwind-libunwind.c File Reference
#include "unwind.h"
#include "thread.h"
#include "session.h"
#include "debug.h"
#include "env.h"
Include dependency graph for unwind-libunwind.c:

Go to the source code of this file.

Functions

static void unwind__register_ops (struct thread *thread, struct unwind_libunwind_ops *ops)
 
int unwind__prepare_access (struct thread *thread, struct map *map, bool *initialized)
 
void unwind__flush_access (struct thread *thread)
 
void unwind__finish_access (struct thread *thread)
 
int unwind__get_entries (unwind_entry_cb_t cb, void *arg, struct thread *thread, struct perf_sample *data, int max_stack)
 

Variables

struct unwind_libunwind_ops __weak * local_unwind_libunwind_ops
 
struct unwind_libunwind_ops __weak * x86_32_unwind_libunwind_ops
 
struct unwind_libunwind_ops __weak * arm64_unwind_libunwind_ops
 

Function Documentation

◆ unwind__finish_access()

void unwind__finish_access ( struct thread thread)

Definition at line 71 of file unwind-libunwind.c.

◆ unwind__flush_access()

void unwind__flush_access ( struct thread thread)

Definition at line 65 of file unwind-libunwind.c.

◆ unwind__get_entries()

int unwind__get_entries ( unwind_entry_cb_t cb  ,
void *  arg,
struct thread thread,
struct perf_sample data,
int  max_stack 
)

Definition at line 77 of file unwind-libunwind.c.

◆ unwind__prepare_access()

int unwind__prepare_access ( struct thread thread,
struct map map,
bool *  initialized 
)

Definition at line 18 of file unwind-libunwind.c.

Here is the call graph for this function:

◆ unwind__register_ops()

static void unwind__register_ops ( struct thread thread,
struct unwind_libunwind_ops ops 
)
static

Definition at line 12 of file unwind-libunwind.c.

Variable Documentation

◆ arm64_unwind_libunwind_ops

struct unwind_libunwind_ops __weak* arm64_unwind_libunwind_ops

Definition at line 10 of file unwind-libunwind.c.

◆ local_unwind_libunwind_ops

struct unwind_libunwind_ops __weak* local_unwind_libunwind_ops

Definition at line 8 of file unwind-libunwind.c.

◆ x86_32_unwind_libunwind_ops

struct unwind_libunwind_ops __weak* x86_32_unwind_libunwind_ops

Definition at line 9 of file unwind-libunwind.c.