1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

make --rr work with InnoDB again

Since 420f8e24ab 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')