bool ADD_EVENT(tree t, char const *tag, desc)

Coverity Documentation

Version
latest

If there is no mapping for t, returns false.

Otherwise, appends a new event to the event sequence to which t is mapped, and returns true.

The new event is constructed using tag and desc. The latter is evaluated as the right-hand argument to operator <<(ostream&) so you can construct complicated event strings, for example:
 ADD_EVENT(t, "my_tag", "One plus " << 1 << " is " << (1+1));
See Adding events for more information on tags.