Linux Kernel
3.7.1
|
#include <linux/workqueue.h>
Go to the source code of this file.
Data Structures | |
struct | hws_qsi_info_block |
struct | hws_ssctl_request_block |
struct | hws_cpu_buffer |
struct | hws_data_entry |
struct | hws_trailer_entry |
Functions | |
int | hwsampler_setup (void) |
int | hwsampler_shutdown (void) |
int | hwsampler_allocate (unsigned long sdbt, unsigned long sdb) |
int | hwsampler_deallocate (void) |
unsigned long | hwsampler_query_min_interval (void) |
unsigned long | hwsampler_query_max_interval (void) |
int | hwsampler_start_all (unsigned long interval) |
int | hwsampler_stop_all (void) |
int | hwsampler_deactivate (unsigned int cpu) |
int | hwsampler_activate (unsigned int cpu) |
unsigned long | hwsampler_get_sample_overflow_count (unsigned int cpu) |
hwsampler_activate() - activate/resume hardware sampling which was deactivated : specifies the CPU to be set active.
Returns 0 on success, !0 on failure.
Definition at line 648 of file hwsampler.c.
hwsampler_allocate() - allocate memory for the hardware sampler : number of SDBTs per online CPU (must be > 0) : number of SDBs per SDBT (minimum 1, maximum 511)
Returns 0 on success, !0 on failure.
Definition at line 945 of file hwsampler.c.
hwsampler_deactivate() - set hardware sampling temporarily inactive : specifies the CPU to be set inactive.
Returns 0 on success, !0 on failure.
Definition at line 601 of file hwsampler.c.
hwsampler_deallocate() - deallocate hardware sampler memory
Returns 0 on success, !0 on failure.
Definition at line 994 of file hwsampler.c.
Definition at line 1026 of file hwsampler.c.
Definition at line 1021 of file hwsampler.c.
Definition at line 1016 of file hwsampler.c.
Definition at line 1035 of file hwsampler.c.
Definition at line 1102 of file hwsampler.c.
hwsampler_start_all() - start hardware sampling on all online CPUs : specifies the used interval when samples are taken
Returns 0 on success, !0 on failure.
Definition at line 1143 of file hwsampler.c.
hwsampler_stop_all() - stop hardware sampling on all online CPUs
Returns 0 on success, !0 on failure.
Definition at line 1203 of file hwsampler.c.