MCPcopy Create free account
hub / github.com/ceph/ceph / encode_trace

Method encode_trace

src/msg/Message.cc:1026–1035  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1024}
1025
1026void Message::encode_trace(ceph::bufferlist &bl, uint64_t features) const
1027{
1028 using ceph::encode;
1029 auto p = trace.get_info();
1030 static const blkin_trace_info empty = { 0, 0, 0 };
1031 if (!p) {
1032 p = ∅
1033 }
1034 encode(*p, bl);
1035}
1036
1037void Message::decode_trace(ceph::bufferlist::const_iterator &p, bool create)
1038{

Callers

nothing calls this directly

Calls 2

encodeFunction · 0.70
get_infoMethod · 0.45

Tested by

no test coverage detected