summaryrefslogtreecommitdiff
path: root/tools/perf/builtin-mem.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2022-10-14 16:39:21 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2022-10-14 16:44:20 +0300
commitd5e57375a562f021b455e3f958cc28d54d0ff54b (patch)
treea0d7b302f9c36b2c9bafb37cddb6c4a863cb390f /tools/perf/builtin-mem.c
parentfe180a52014fd4a768345fc7ff11a7ced45765e6 (diff)
downloadlinux-d5e57375a562f021b455e3f958cc28d54d0ff54b.tar.xz
libperf: Do not include non-UAPI linux/compiler.h header
Its just for that __packed define, so use it expanded as __attribute__((packed)), like the other files in /usr/include do. This was problem was preventing building the libperf examples on ALT Linux and Fedora 35, fix it. Reported-by: Vitaly Chikunov <vt@altlinux.org> Acked-by: Ian Rogers <irogers@google.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Dmitry Levin <ldv@altlinux.org Cc: Ian Rogers <irogers@google.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Link: http://lore.kernel.org/lkml/Y0lnpl2Ix7VljVDc@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-mem.c')
0 files changed, 0 insertions, 0 deletions