staging: rtl8192u: remove redundant assignment to pointer crypt
[linux/fpc-iii.git] / tools / testing / selftests / ftrace / test.d / 00basic / ringbuffer_size.tc
blobab70f0077c35a7c5c3126414431d9049a41d1a92
1 #!/bin/sh
2 # SPDX-License-Identifier: GPL-2.0
3 # description: Change the ringbuffer size
4 # flags: instance
6 rb_size_test() {
7 ORIG=`cat buffer_size_kb`
9 expr $ORIG / 2 > buffer_size_kb
11 expr $ORIG \* 2 > buffer_size_kb
13 echo $ORIG > buffer_size_kb
16 rb_size_test
18 : "If per-cpu buffer is supported, imbalance it"
19 if [ -d per_cpu/cpu0 ]; then
20 cd per_cpu/cpu0
21 rb_size_test