diff options
author | Wang Long <[email protected]> | 2015-06-10 08:11:13 +0000 |
---|---|---|
committer | Steven Rostedt <[email protected]> | 2015-06-10 15:44:35 -0400 |
commit | 7364e86547bc52a555c9317b32cc4e81c4d4fd7c (patch) | |
tree | 160e7c5a4d388d512dc24e528c012ca8d8d1f2ea /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a497adb45b8691f7e477e711a1a4bd54748d64fe (diff) |
ring-buffer-benchmark: Fix the wrong param in module_param
The {producer|consumer}_{nice|fifo} parameters are integer
type, we should use 'int' as the second param in module_param.
For example(consumer_fifo):
the default value of consumer_fifo is -1.
Without this patch:
# cat /sys/module/ring_buffer_benchmark/parameters/consumer_fifo
4294967295
With this patch:
# cat /sys/module/ring_buffer_benchmark/parameters/consumer_fifo
-1
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Wang Long <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions