diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-12-25 17:25:04 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-12-26 09:40:02 +0100 |
commit | 69ac83dd546561eb451fed008ea41a3db1412e79 (patch) | |
tree | abe84960a120e6e7b1648097a28ebd6449d643c5 /openbsc/contrib | |
parent | 9d277d3b33d33aa1f8454c1d525262bb698e2d38 (diff) |
sms: Add a simple SystemTap probe to see SQL queries
This will proble all queries done in the system. This can
help to identify some issues with libdbi's performance.
Diffstat (limited to 'openbsc/contrib')
-rw-r--r-- | openbsc/contrib/sms/sqlite-probe.tap.d | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/openbsc/contrib/sms/sqlite-probe.tap.d b/openbsc/contrib/sms/sqlite-probe.tap.d new file mode 100644 index 000000000..e75cdfcfa --- /dev/null +++ b/openbsc/contrib/sms/sqlite-probe.tap.d @@ -0,0 +1,5 @@ +probe process("/usr/lib/libsqlite3.so.0.8.6").function("sqlite3_get_table") +{ + a = user_string($zSql); + printf("sqlite3_get_table called '%s'\n", a); +} |