Linux Perf
|
#include <linux/types.h>
#include <unistd.h>
#include <sys/prctl.h>
#include "parse-events.h"
#include "evlist.h"
#include "evsel.h"
#include "thread_map.h"
#include "cpumap.h"
#include "tests.h"
Go to the source code of this file.
Macros | |
#define | CHECK__(x) |
#define | CHECK_NOT_NULL__(x) |
Functions | |
static int | find_comm (struct perf_evlist *evlist, const char *comm) |
int | test__keep_tracking (struct test *test __maybe_unused, int subtest __maybe_unused) |
#define CHECK__ | ( | x | ) |
Definition at line 13 of file keep-tracking.c.
#define CHECK_NOT_NULL__ | ( | x | ) |
Definition at line 20 of file keep-tracking.c.
|
static |
test__keep_tracking - test using a dummy software event to keep tracking.
This function implements a test that checks that tracking events continue when an event is disabled but a dummy software event is not disabled. If the test passes %0 is returned, otherwise %-1 is returned.
Definition at line 58 of file keep-tracking.c.