Helper functions for instrumenting stuff using LTTng-UST.