https://github.com/torvalds/linux
Raw File
Tip revision: 01bf0b64579ead8a82e7cfc32ae44bc667e7ad0f authored by Linus Torvalds on 19 April 2010, 23:29:56 UTC
Linux 2.6.34-rc5
Tip revision: 01bf0b6
buffer_sync.h
/**
 * @file buffer_sync.h
 *
 * @remark Copyright 2002 OProfile authors
 * @remark Read the file COPYING
 *
 * @author John Levon <levon@movementarian.org>
 */

#ifndef OPROFILE_BUFFER_SYNC_H
#define OPROFILE_BUFFER_SYNC_H

/* add the necessary profiling hooks */
int sync_start(void);

/* remove the hooks */
void sync_stop(void);

/* sync the given CPU's buffer */
void sync_buffer(int cpu);

#endif /* OPROFILE_BUFFER_SYNC_H */
back to top