add extra instrumenting for yasnippet-expansion