Add support for "{ptype}" trace format specifier