buffer_sync.h 432 B

12345678910111213141516171819202122
  1. /**
  2. * @file buffer_sync.h
  3. *
  4. * @remark Copyright 2002 OProfile authors
  5. * @remark Read the file COPYING
  6. *
  7. * @author John Levon <levon@movementarian.org>
  8. */
  9. #ifndef OPROFILE_BUFFER_SYNC_H
  10. #define OPROFILE_BUFFER_SYNC_H
  11. /* add the necessary profiling hooks */
  12. int sync_start(void);
  13. /* remove the hooks */
  14. void sync_stop(void);
  15. /* sync the given CPU's buffer */
  16. void sync_buffer(int cpu);
  17. #endif /* OPROFILE_BUFFER_SYNC_H */