xref: /kernel/linux/linux-6.6/tools/lib/perf/include/internal/lib.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/tools/lib/perf/include/internal/
162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci#ifndef __LIBPERF_INTERNAL_LIB_H
362306a36Sopenharmony_ci#define __LIBPERF_INTERNAL_LIB_H
462306a36Sopenharmony_ci
562306a36Sopenharmony_ci#include <sys/types.h>
662306a36Sopenharmony_ci
762306a36Sopenharmony_ciextern unsigned int page_size;
862306a36Sopenharmony_ci
962306a36Sopenharmony_cissize_t readn(int fd, void *buf, size_t n);
1062306a36Sopenharmony_cissize_t writen(int fd, const void *buf, size_t n);
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_cissize_t preadn(int fd, void *buf, size_t n, off_t offs);
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ci#endif /* __LIBPERF_INTERNAL_CPUMAP_H */
15

Indexes created Thu Nov 07 10:32:03 CST 2024