mmap.c (c1a604dff486399ae0be95e6396e0158df95ad5d) mmap.c (f2a39fe84901df2b3d1bec3459b65cee3e8db57c)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Copyright (C) 2011-2017, Red Hat Inc, Arnaldo Carvalho de Melo <acme@redhat.com>
4 *
5 * Parts came from evlist.c builtin-{top,stat,record}.c, see those files for further
6 * copyright notes.
7 */
8
9#include <sys/mman.h>
10#include <inttypes.h>
11#include <asm/bug.h>
12#include <linux/zalloc.h>
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Copyright (C) 2011-2017, Red Hat Inc, Arnaldo Carvalho de Melo <acme@redhat.com>
4 *
5 * Parts came from evlist.c builtin-{top,stat,record}.c, see those files for further
6 * copyright notes.
7 */
8
9#include <sys/mman.h>
10#include <inttypes.h>
11#include <asm/bug.h>
12#include <linux/zalloc.h>
13#include <stdlib.h>
14#include <string.h>
13#ifdef HAVE_LIBNUMA_SUPPORT
14#include <numaif.h>
15#endif
15#ifdef HAVE_LIBNUMA_SUPPORT
16#include <numaif.h>
17#endif
18#include "cpumap.h"
16#include "debug.h"
17#include "event.h"
18#include "mmap.h"
19#include "../perf.h"
20#include "util.h" /* page_size */
21
22size_t perf_mmap__mmap_len(struct perf_mmap *map)
23{

--- 518 unchanged lines hidden ---
19#include "debug.h"
20#include "event.h"
21#include "mmap.h"
22#include "../perf.h"
23#include "util.h" /* page_size */
24
25size_t perf_mmap__mmap_len(struct perf_mmap *map)
26{

--- 518 unchanged lines hidden ---