Linux Perf
evsel-roundtrip-name.c File Reference
#include "evlist.h"
#include "evsel.h"
#include "parse-events.h"
#include "tests.h"
#include "debug.h"
#include <errno.h>
#include <linux/kernel.h>
Include dependency graph for evsel-roundtrip-name.c:

Go to the source code of this file.

Macros

#define perf_evsel__name_array_test(names)   __perf_evsel__name_array_test(names, ARRAY_SIZE(names))
 

Functions

static int perf_evsel__roundtrip_cache_name_test (void)
 
static int __perf_evsel__name_array_test (const char *names[], int nr_names)
 
int test__perf_evsel__roundtrip_name_test (struct test *test __maybe_unused, int subtest __maybe_unused)
 

Macro Definition Documentation

◆ perf_evsel__name_array_test

#define perf_evsel__name_array_test (   names)    __perf_evsel__name_array_test(names, ARRAY_SIZE(names))

Definition at line 98 of file evsel-roundtrip-name.c.

Function Documentation

◆ __perf_evsel__name_array_test()

static int __perf_evsel__name_array_test ( const char *  names[],
int  nr_names 
)
static

Definition at line 67 of file evsel-roundtrip-name.c.

Here is the call graph for this function:

◆ perf_evsel__roundtrip_cache_name_test()

static int perf_evsel__roundtrip_cache_name_test ( void  )
static

Definition at line 10 of file evsel-roundtrip-name.c.

Here is the call graph for this function:

◆ test__perf_evsel__roundtrip_name_test()

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

Definition at line 101 of file evsel-roundtrip-name.c.

Here is the call graph for this function: