you can use the following option for mysqldump
mysqldump --opt --single-transaction --master-data <DB_NAME>
than you can grep dump to find out change to master
(head -40 <dumpfile>
will be quite enough)
if you have big databases you should rather go with innobackupex
Percona utility