tools/perf/util/memswap.h

Source file repositories/reference/linux-study-clean/tools/perf/util/memswap.h

File Facts

System
Linux kernel
Corpus path
tools/perf/util/memswap.h
Extension
.h
Size
282 bytes
Lines
16
Domain
Support Tooling And Documentation
Bucket
tools
Inferred role
Support Tooling And Documentation: implementation source
Status
source implementation candidate

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef PERF_MEMSWAP_H_
#define PERF_MEMSWAP_H_

#include <linux/types.h>

union u64_swap {
	u64 val64;
	u32 val32[2];
};

void mem_bswap_64(void *src, int byte_size);
void mem_bswap_32(void *src, int byte_size);

#endif /* PERF_MEMSWAP_H_ */

Annotation

Implementation Notes