MariaDB User-Space Markers

Newer versions of MariaDB include support for SystemTap user-space markers. The MariaDB user-space markers are enabled in Fedora 28 and RHEL 7. The markers allow SystemTap to probe various MariaDB events including the start of a query, the completion of a query and lock operations. You can list the available probe points with the following command:

Using MariaDB User-Space Markers

To use the MariaDB user-space markers on Fedora you will need:

Examples and Demonstrations of Markers

Some short SystemTap example scripts for Mariadb:

There are also a number of Mysql SystemTap probing examples in can be adapted and used for MariaDB.