mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Internal change.
PiperOrigin-RevId: 595450791
This commit is contained in:
@@ -73,7 +73,7 @@ void unpackSyscall(absl::string_view buf) {
|
||||
err(1, "ParseFromString(): %.*s", static_cast<int>(buf.size()), buf.data());
|
||||
}
|
||||
log("%s %s %s\n", evt.has_exit() ? "X" : "E",
|
||||
evt.GetMetadata().descriptor->name().c_str(), shortfmt(evt).c_str());
|
||||
evt.GetDescriptor()->name().c_str(), shortfmt(evt).c_str());
|
||||
}
|
||||
|
||||
template <class T>
|
||||
@@ -82,8 +82,7 @@ void unpack(absl::string_view buf) {
|
||||
if (!evt.ParseFromArray(buf.data(), buf.size())) {
|
||||
err(1, "ParseFromString(): %.*s", static_cast<int>(buf.size()), buf.data());
|
||||
}
|
||||
log("%s => %s\n", evt.GetMetadata().descriptor->name().c_str(),
|
||||
shortfmt(evt).c_str());
|
||||
log("%s => %s\n", evt.GetDescriptor()->name().c_str(), shortfmt(evt).c_str());
|
||||
}
|
||||
|
||||
// List of dispatchers indexed based on MessageType enum values.
|
||||
|
||||
Reference in New Issue
Block a user