#include "perf.h"
#include "tests.h"
#include "debug.h"
#include "symbol.h"
#include "sort.h"
#include "evsel.h"
#include "evlist.h"
#include "machine.h"
#include "thread.h"
#include "parse-events.h"
#include "hists_common.h"
#include <errno.h>
#include <linux/kernel.h>
Go to the source code of this file.
◆ __validate_link()
static int __validate_link |
( |
struct hists * |
hists, |
|
|
int |
idx |
|
) |
| |
|
static |
◆ __validate_match()
static int __validate_match |
( |
struct hists * |
hists | ) |
|
|
static |
◆ add_hist_entries()
◆ find_sample()
static int find_sample |
( |
struct sample * |
samples, |
|
|
size_t |
nr_samples, |
|
|
struct thread * |
t, |
|
|
struct map * |
m, |
|
|
struct symbol * |
s |
|
) |
| |
|
static |
◆ test__hists_link()
int test__hists_link |
( |
struct test *test |
__maybe_unused, |
|
|
int subtest |
__maybe_unused |
|
) |
| |
◆ validate_link()
static int validate_link |
( |
struct hists * |
leader, |
|
|
struct hists * |
other |
|
) |
| |
|
static |
◆ validate_match()
static int validate_match |
( |
struct hists * |
leader, |
|
|
struct hists * |
other |
|
) |
| |
|
static |
◆ fake_common_samples
struct sample fake_common_samples[] |
|
static |
Initial value:= {
}
#define FAKE_IP_BASH_XMALLOC
#define FAKE_IP_LIBC_MALLOC
#define FAKE_IP_PERF_MAIN
#define FAKE_IP_KERNEL_SCHEDULE
#define FAKE_IP_PERF_CMD_RECORD
Definition at line 25 of file hists_link.c.
◆ fake_samples
struct sample fake_samples[][5] |
|
static |
Initial value:= {
{
},
{
},
}
#define FAKE_IP_KERNEL_SYS_PERF_EVENT_OPEN
#define FAKE_IP_BASH_XFREE
#define FAKE_IP_LIBC_MALLOC
#define FAKE_IP_LIBC_REALLOC
#define FAKE_IP_PERF_RUN_COMMAND
#define FAKE_IP_KERNEL_PAGE_FAULT
#define FAKE_IP_LIBC_FREE
Definition at line 38 of file hists_link.c.