Skip to content

Commit

Permalink
make --rr work with InnoDB again
Browse files Browse the repository at this point in the history
Since 420f8e2 InnoDB uses O_DIRECT by default
  • Loading branch information
vuvova committed Jun 30, 2021
1 parent 6fab256 commit 771f3cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mysql-test/lib/My/Debugger.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 771f3cf

Please sign in to comment.