#include <linux/ring_buffer.h>
#include <linux/completion.h>
#include <linux/kthread.h>
#include <linux/module.h>
#include <linux/time.h>
#include <asm/local.h>
Go to the source code of this file.
|
| module_param (disable_reader, uint, 0644) |
|
| MODULE_PARM_DESC (disable_reader,"only run producer") |
|
| module_param (write_iteration, uint, 0644) |
|
| MODULE_PARM_DESC (write_iteration,"# of writes between timestamp readings") |
|
| module_param (producer_nice, uint, 0644) |
|
| MODULE_PARM_DESC (producer_nice,"nice prio for producer") |
|
| module_param (consumer_nice, uint, 0644) |
|
| MODULE_PARM_DESC (consumer_nice,"nice prio for consumer") |
|
| module_param (producer_fifo, uint, 0644) |
|
| MODULE_PARM_DESC (producer_fifo,"fifo prio for producer") |
|
| module_param (consumer_fifo, uint, 0644) |
|
| MODULE_PARM_DESC (consumer_fifo,"fifo prio for consumer") |
|
| module_init (ring_buffer_benchmark_init) |
|
| module_exit (ring_buffer_benchmark_exit) |
|
| MODULE_AUTHOR ("Steven Rostedt") |
|
| MODULE_DESCRIPTION ("ring_buffer_benchmark") |
|
| MODULE_LICENSE ("GPL") |
|
Value:do { \
if (!kill_test) { \
kill_test = 1; \
WARN_ON(1); \
} \
} while (0)
Definition at line 65 of file ring_buffer_benchmark.c.
MODULE_AUTHOR |
( |
"Steven Rostedt" |
| ) |
|
MODULE_DESCRIPTION |
( |
"ring_buffer_benchmark" |
| ) |
|
module_exit |
( |
ring_buffer_benchmark_exit |
| ) |
|
module_init |
( |
ring_buffer_benchmark_init |
| ) |
|
module_param |
( |
disable_reader |
, |
|
|
uint |
, |
|
|
0644 |
|
|
) |
| |
module_param |
( |
write_iteration |
, |
|
|
uint |
, |
|
|
0644 |
|
|
) |
| |
module_param |
( |
producer_nice |
, |
|
|
uint |
, |
|
|
0644 |
|
|
) |
| |
module_param |
( |
consumer_nice |
, |
|
|
uint |
, |
|
|
0644 |
|
|
) |
| |
module_param |
( |
producer_fifo |
, |
|
|
uint |
, |
|
|
0644 |
|
|
) |
| |
module_param |
( |
consumer_fifo |
, |
|
|
uint |
, |
|
|
0644 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
disable_reader |
, |
|
|
"only run producer" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
write_iteration |
, |
|
|
"# of writes between timestamp readings" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
producer_nice |
, |
|
|
"nice prio for producer" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
consumer_nice |
, |
|
|
"nice prio for consumer" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
producer_fifo |
, |
|
|
"fifo prio for producer" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
consumer_fifo |
, |
|
|
"fifo prio for consumer" |
|
|
) |
| |