mmap-basic.c (f26e8817b235d8764363bffcc9cbfc61867371f2) mmap-basic.c (877a7a11050ee4d465364c57f8fbf78f6b1a2559)
1/* For the CLR_() macros */
2#include <pthread.h>
3
4#include "evlist.h"
5#include "evsel.h"
6#include "thread_map.h"
7#include "cpumap.h"
8#include "tests.h"
9#include <linux/err.h>
1/* For the CLR_() macros */
2#include <pthread.h>
3
4#include "evlist.h"
5#include "evsel.h"
6#include "thread_map.h"
7#include "cpumap.h"
8#include "tests.h"
9#include <linux/err.h>
10#include <linux/kernel.h>
10
11/*
12 * This test will generate random numbers of calls to some getpid syscalls,
13 * then establish an mmap for a group of events that are created to monitor
14 * the syscalls.
15 *
16 * It will receive the events, using mmap, use its PERF_SAMPLE_ID generated
17 * sample.id field to map back to its respective perf_evsel instance.

--- 134 unchanged lines hidden ---
11
12/*
13 * This test will generate random numbers of calls to some getpid syscalls,
14 * then establish an mmap for a group of events that are created to monitor
15 * the syscalls.
16 *
17 * It will receive the events, using mmap, use its PERF_SAMPLE_ID generated
18 * sample.id field to map back to its respective perf_evsel instance.

--- 134 unchanged lines hidden ---