Linux Perf
thread-map.c File Reference
#include <stdlib.h>
#include <sys/types.h>
#include <unistd.h>
#include <sys/prctl.h>
#include "tests.h"
#include "thread_map.h"
#include "debug.h"
Include dependency graph for thread-map.c:

Go to the source code of this file.

Macros

#define NAME   (const char *) "perf"
 
#define NAMEUL   (unsigned long) NAME
 

Functions

int test__thread_map (struct test *test __maybe_unused, int subtest __maybe_unused)
 
static int process_event (struct perf_tool *tool __maybe_unused, union perf_event *event, struct perf_sample *sample __maybe_unused, struct machine *machine __maybe_unused)
 
int test__thread_map_synthesize (struct test *test __maybe_unused, int subtest __maybe_unused)
 
int test__thread_map_remove (struct test *test __maybe_unused, int subtest __maybe_unused)
 

Macro Definition Documentation

◆ NAME

#define NAME   (const char *) "perf"

Definition at line 10 of file thread-map.c.

◆ NAMEUL

#define NAMEUL   (unsigned long) NAME

Definition at line 11 of file thread-map.c.

Function Documentation

◆ process_event()

static int process_event ( struct perf_tool *tool  __maybe_unused,
union perf_event event,
struct perf_sample *sample  __maybe_unused,
struct machine *machine  __maybe_unused 
)
static

Definition at line 53 of file thread-map.c.

Here is the call graph for this function:

◆ test__thread_map()

int test__thread_map ( struct test *test  __maybe_unused,
int subtest  __maybe_unused 
)

Definition at line 13 of file thread-map.c.

Here is the call graph for this function:

◆ test__thread_map_remove()

int test__thread_map_remove ( struct test *test  __maybe_unused,
int subtest  __maybe_unused 
)

Definition at line 99 of file thread-map.c.

Here is the call graph for this function:

◆ test__thread_map_synthesize()

int test__thread_map_synthesize ( struct test *test  __maybe_unused,
int subtest  __maybe_unused 
)

Definition at line 80 of file thread-map.c.

Here is the call graph for this function: