mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 04:42:12 +00:00
f7df8ed164
Impact: use new cpumask API. Convert misc driver functions to use struct cpumask. To Do: - Convert iucv_buffer_cpumask to cpumask_var_t. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Mike Travis <travis@sgi.com> Acked-by: Dean Nelson <dcn@sgi.com> Cc: Robert Richter <robert.richter@amd.com> Cc: oprofile-list@lists.sf.net Cc: Jeremy Fitzhardinge <jeremy@xensource.com> Cc: Chris Wright <chrisw@sous-sol.org> Cc: virtualization@lists.osdl.org Cc: xen-devel@lists.xensource.com Cc: Ursula Braun <ursula.braun@de.ibm.com> Cc: linux390@de.ibm.com Cc: linux-s390@vger.kernel.org
27 lines
537 B
C
27 lines
537 B
C
/**
|
|
* @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);
|
|
|
|
/* initialize/destroy the buffer system. */
|
|
int buffer_sync_init(void);
|
|
void buffer_sync_cleanup(void);
|
|
|
|
#endif /* OPROFILE_BUFFER_SYNC_H */
|