Add support for profiling cspm expressions.

This only allows function call count profiling, but it is better than
nothing.