#include #include #define VDSO__MAP_NAME "[vdso]" /* * Include definition of find_vdso_map() also used in util/vdso.c for * building perf. */ #include "util/find-vdso-map.c" int main(void) { void *start, *end; size_t size, written; if (find_vdso_map(&start, &end)) return 1; size = end - start; while (size) { written = fwrite(start, 1, size, stdout); if (!written) return 1; start += written; size -= written; } if (fflush(stdout)) return 1; return 0; } '/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2017-02-07 10:40:50 +0100
committerJohannes Berg <johannes.berg@intel.com>2017-02-07 10:40:50 +0100
commitbddb2afcb6c52a545f18fb9bcd4829828ebf4a3a (patch)
tree0021fe481f8acf3694d92d72f3dd1b2a71a20ca3 /tools/perf/bench/mem-memset-x86-64-asm.S
parent228c8c6b1f4376788e9d5ab00d50b10228eb40d3 (diff)
mac80211: add back lost debugfs files
Somehow these files were never present or lost, but the code is there and they seem somewhat useful, so add them back. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/bench/mem-memset-x86-64-asm.S')