Here's a one-liner for those of you willing to trade a little temporary performance for less durability of your data.
# stap -g -e '
probe syscall.fsync { if (execname() == "mysqld") { x++; $fd = 1 } } global x'
^C (when ready)
It will turn fsyncs on database files into fsyncs on administrative log files (file descriptor #1, stdout), which turn milliseconds into microseconds. When you stop the script, you get will see a number of times this terrible tradeoff was taken. See also this longer example.