MCPcopy Create free account
hub / github.com/apache/trafficserver / create_stat_name

Function create_stat_name

plugins/remap_stats/remap_stats.cc:141–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139}
140
141void
142create_stat_name(swoc::FixedBufferWriter &stat_name, std::string_view const h, std::string_view const b)
143{
144 stat_name.clear().restrict(1);
145 stat_name.print("plugin.{}.{}.{}", PLUGIN_NAME, h, b);
146 stat_name.restore(1).write('\0');
147}
148
149int
150handle_txn_close(TSCont cont, TSEvent event ATS_UNUSED, void *edata)

Callers 1

handle_txn_closeFunction · 0.85

Calls 5

restrictMethod · 0.45
clearMethod · 0.45
printMethod · 0.45
writeMethod · 0.45
restoreMethod · 0.45

Tested by

no test coverage detected