make --rr work with InnoDB again

Since 420f8e24ab7 InnoDB uses O_DIRECT by default
This commit is contained in:
Sergei Golubchik 2021-06-28 12:27:00 +02:00
parent 6fab256bc8
commit 771f3cf995

View File

@ -77,7 +77,7 @@ my %debuggers = (
options => '-f -o {log} {exe} {args}',
},
rr => {
options => '_RR_TRACE_DIR={log} rr record {exe} {args} --loose-skip-innodb-use-native-aio',
options => '_RR_TRACE_DIR={log} rr record {exe} {args} --loose-skip-innodb-use-native-aio --loose-innodb-flush-method=fsync',
run => 'env',
pre => sub {
::mtr_error('rr requires kernel.perf_event_paranoid <= 1')