xref: /kernel/linux/linux-5.10/drivers/oprofile/buffer_sync.h (revision 8c2ecf20)
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/drivers/oprofile/
18c2ecf20Sopenharmony_ci/**
28c2ecf20Sopenharmony_ci * @file buffer_sync.h
38c2ecf20Sopenharmony_ci *
48c2ecf20Sopenharmony_ci * @remark Copyright 2002 OProfile authors
58c2ecf20Sopenharmony_ci * @remark Read the file COPYING
68c2ecf20Sopenharmony_ci *
78c2ecf20Sopenharmony_ci * @author John Levon <levon@movementarian.org>
88c2ecf20Sopenharmony_ci */
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ci#ifndef OPROFILE_BUFFER_SYNC_H
118c2ecf20Sopenharmony_ci#define OPROFILE_BUFFER_SYNC_H
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ci/* add the necessary profiling hooks */
148c2ecf20Sopenharmony_ciint sync_start(void);
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ci/* remove the hooks */
178c2ecf20Sopenharmony_civoid sync_stop(void);
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ci/* sync the given CPU's buffer */
208c2ecf20Sopenharmony_civoid sync_buffer(int cpu);
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ci#endif /* OPROFILE_BUFFER_SYNC_H */
23

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