diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-04-25 15:45:35 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-04-25 15:45:35 -0300 |
commit | 98521b3869f8d6b4b9d2fdad8a56059e819ae002 (patch) | |
tree | 147c2ba21dcf8ca49cb87e106e8e1dbe9e4ef411 /tools/perf/util/memswap.h | |
parent | 5ab8c689f7c0c97e98b8014b7f0ede386bef5aaf (diff) | |
download | lwn-98521b3869f8d6b4b9d2fdad8a56059e819ae002.tar.gz lwn-98521b3869f8d6b4b9d2fdad8a56059e819ae002.zip |
perf memswap: Split the byteswap memory range wrappers from util.[ch]
Just one more step into splitting util.[ch] to reduce the includes hell.
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-navarr9mijkgwgbzu464dwam@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/memswap.h')
-rw-r--r-- | tools/perf/util/memswap.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/perf/util/memswap.h b/tools/perf/util/memswap.h new file mode 100644 index 000000000000..7d1b1c34bb57 --- /dev/null +++ b/tools/perf/util/memswap.h @@ -0,0 +1,7 @@ +#ifndef PERF_MEMSWAP_H_ +#define PERF_MEMSWAP_H_ + +void mem_bswap_64(void *src, int byte_size); +void mem_bswap_32(void *src, int byte_size); + +#endif /* PERF_MEMSWAP_H_ */ |