[CRIU] [PATCH 03/10] phaul: add phaul/src/stats/stats.pb.go

Andrei Vagin avagin at openvz.org
Wed Oct 18 02:59:14 MSK 2017


From: Andrei Vagin <avagin at virtuozzo.com>

This is required for "go get", it can't execute any commands.

Signed-off-by: Andrei Vagin <avagin at virtuozzo.com>
---
 phaul/.gitignore            |   1 -
 phaul/src/stats/stats.pb.go | 222 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 222 insertions(+), 1 deletion(-)
 create mode 100644 phaul/src/stats/stats.pb.go

diff --git a/phaul/.gitignore b/phaul/.gitignore
index d8d94a2ae..e69de29bb 100644
--- a/phaul/.gitignore
+++ b/phaul/.gitignore
@@ -1 +0,0 @@
-src/stats/stats.pb.go
diff --git a/phaul/src/stats/stats.pb.go b/phaul/src/stats/stats.pb.go
new file mode 100644
index 000000000..4a7f3c081
--- /dev/null
+++ b/phaul/src/stats/stats.pb.go
@@ -0,0 +1,222 @@
+// Code generated by protoc-gen-go.
+// source: stats.proto
+// DO NOT EDIT!
+
+/*
+Package stats is a generated protocol buffer package.
+
+It is generated from these files:
+	stats.proto
+
+It has these top-level messages:
+	DumpStatsEntry
+	RestoreStatsEntry
+	StatsEntry
+*/
+package stats
+
+import proto "github.com/golang/protobuf/proto"
+import fmt "fmt"
+import math "math"
+
+// Reference imports to suppress errors if they are not otherwise used.
+var _ = proto.Marshal
+var _ = fmt.Errorf
+var _ = math.Inf
+
+// This is a compile-time assertion to ensure that this generated file
+// is compatible with the proto package it is being compiled against.
+// A compilation error at this line likely means your copy of the
+// proto package needs to be updated.
+const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+
+// This one contains statistics about dump/restore process
+type DumpStatsEntry struct {
+	FreezingTime       *uint32 `protobuf:"varint,1,req,name=freezing_time,json=freezingTime" json:"freezing_time,omitempty"`
+	FrozenTime         *uint32 `protobuf:"varint,2,req,name=frozen_time,json=frozenTime" json:"frozen_time,omitempty"`
+	MemdumpTime        *uint32 `protobuf:"varint,3,req,name=memdump_time,json=memdumpTime" json:"memdump_time,omitempty"`
+	MemwriteTime       *uint32 `protobuf:"varint,4,req,name=memwrite_time,json=memwriteTime" json:"memwrite_time,omitempty"`
+	PagesScanned       *uint64 `protobuf:"varint,5,req,name=pages_scanned,json=pagesScanned" json:"pages_scanned,omitempty"`
+	PagesSkippedParent *uint64 `protobuf:"varint,6,req,name=pages_skipped_parent,json=pagesSkippedParent" json:"pages_skipped_parent,omitempty"`
+	PagesWritten       *uint64 `protobuf:"varint,7,req,name=pages_written,json=pagesWritten" json:"pages_written,omitempty"`
+	IrmapResolve       *uint32 `protobuf:"varint,8,opt,name=irmap_resolve,json=irmapResolve" json:"irmap_resolve,omitempty"`
+	PagesLazy          *uint64 `protobuf:"varint,9,req,name=pages_lazy,json=pagesLazy" json:"pages_lazy,omitempty"`
+	XXX_unrecognized   []byte  `json:"-"`
+}
+
+func (m *DumpStatsEntry) Reset()                    { *m = DumpStatsEntry{} }
+func (m *DumpStatsEntry) String() string            { return proto.CompactTextString(m) }
+func (*DumpStatsEntry) ProtoMessage()               {}
+func (*DumpStatsEntry) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
+
+func (m *DumpStatsEntry) GetFreezingTime() uint32 {
+	if m != nil && m.FreezingTime != nil {
+		return *m.FreezingTime
+	}
+	return 0
+}
+
+func (m *DumpStatsEntry) GetFrozenTime() uint32 {
+	if m != nil && m.FrozenTime != nil {
+		return *m.FrozenTime
+	}
+	return 0
+}
+
+func (m *DumpStatsEntry) GetMemdumpTime() uint32 {
+	if m != nil && m.MemdumpTime != nil {
+		return *m.MemdumpTime
+	}
+	return 0
+}
+
+func (m *DumpStatsEntry) GetMemwriteTime() uint32 {
+	if m != nil && m.MemwriteTime != nil {
+		return *m.MemwriteTime
+	}
+	return 0
+}
+
+func (m *DumpStatsEntry) GetPagesScanned() uint64 {
+	if m != nil && m.PagesScanned != nil {
+		return *m.PagesScanned
+	}
+	return 0
+}
+
+func (m *DumpStatsEntry) GetPagesSkippedParent() uint64 {
+	if m != nil && m.PagesSkippedParent != nil {
+		return *m.PagesSkippedParent
+	}
+	return 0
+}
+
+func (m *DumpStatsEntry) GetPagesWritten() uint64 {
+	if m != nil && m.PagesWritten != nil {
+		return *m.PagesWritten
+	}
+	return 0
+}
+
+func (m *DumpStatsEntry) GetIrmapResolve() uint32 {
+	if m != nil && m.IrmapResolve != nil {
+		return *m.IrmapResolve
+	}
+	return 0
+}
+
+func (m *DumpStatsEntry) GetPagesLazy() uint64 {
+	if m != nil && m.PagesLazy != nil {
+		return *m.PagesLazy
+	}
+	return 0
+}
+
+type RestoreStatsEntry struct {
+	PagesCompared    *uint64 `protobuf:"varint,1,req,name=pages_compared,json=pagesCompared" json:"pages_compared,omitempty"`
+	PagesSkippedCow  *uint64 `protobuf:"varint,2,req,name=pages_skipped_cow,json=pagesSkippedCow" json:"pages_skipped_cow,omitempty"`
+	ForkingTime      *uint32 `protobuf:"varint,3,req,name=forking_time,json=forkingTime" json:"forking_time,omitempty"`
+	RestoreTime      *uint32 `protobuf:"varint,4,req,name=restore_time,json=restoreTime" json:"restore_time,omitempty"`
+	PagesRestored    *uint64 `protobuf:"varint,5,opt,name=pages_restored,json=pagesRestored" json:"pages_restored,omitempty"`
+	XXX_unrecognized []byte  `json:"-"`
+}
+
+func (m *RestoreStatsEntry) Reset()                    { *m = RestoreStatsEntry{} }
+func (m *RestoreStatsEntry) String() string            { return proto.CompactTextString(m) }
+func (*RestoreStatsEntry) ProtoMessage()               {}
+func (*RestoreStatsEntry) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
+
+func (m *RestoreStatsEntry) GetPagesCompared() uint64 {
+	if m != nil && m.PagesCompared != nil {
+		return *m.PagesCompared
+	}
+	return 0
+}
+
+func (m *RestoreStatsEntry) GetPagesSkippedCow() uint64 {
+	if m != nil && m.PagesSkippedCow != nil {
+		return *m.PagesSkippedCow
+	}
+	return 0
+}
+
+func (m *RestoreStatsEntry) GetForkingTime() uint32 {
+	if m != nil && m.ForkingTime != nil {
+		return *m.ForkingTime
+	}
+	return 0
+}
+
+func (m *RestoreStatsEntry) GetRestoreTime() uint32 {
+	if m != nil && m.RestoreTime != nil {
+		return *m.RestoreTime
+	}
+	return 0
+}
+
+func (m *RestoreStatsEntry) GetPagesRestored() uint64 {
+	if m != nil && m.PagesRestored != nil {
+		return *m.PagesRestored
+	}
+	return 0
+}
+
+type StatsEntry struct {
+	Dump             *DumpStatsEntry    `protobuf:"bytes,1,opt,name=dump" json:"dump,omitempty"`
+	Restore          *RestoreStatsEntry `protobuf:"bytes,2,opt,name=restore" json:"restore,omitempty"`
+	XXX_unrecognized []byte             `json:"-"`
+}
+
+func (m *StatsEntry) Reset()                    { *m = StatsEntry{} }
+func (m *StatsEntry) String() string            { return proto.CompactTextString(m) }
+func (*StatsEntry) ProtoMessage()               {}
+func (*StatsEntry) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
+
+func (m *StatsEntry) GetDump() *DumpStatsEntry {
+	if m != nil {
+		return m.Dump
+	}
+	return nil
+}
+
+func (m *StatsEntry) GetRestore() *RestoreStatsEntry {
+	if m != nil {
+		return m.Restore
+	}
+	return nil
+}
+
+func init() {
+	proto.RegisterType((*DumpStatsEntry)(nil), "dump_stats_entry")
+	proto.RegisterType((*RestoreStatsEntry)(nil), "restore_stats_entry")
+	proto.RegisterType((*StatsEntry)(nil), "stats_entry")
+}
+
+func init() { proto.RegisterFile("stats.proto", fileDescriptor0) }
+
+var fileDescriptor0 = []byte{
+	// 362 bytes of a gzipped FileDescriptorProto
+	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x92, 0xc1, 0x4e, 0xe3, 0x30,
+	0x10, 0x86, 0x95, 0x6c, 0x76, 0xbb, 0x9d, 0xb4, 0x40, 0x43, 0x0f, 0xbe, 0x20, 0x42, 0x2b, 0xa4,
+	0x8a, 0x43, 0x84, 0x78, 0x85, 0x5e, 0x39, 0x20, 0x83, 0xc4, 0x31,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x1d, 0x4b, 0xae, 0x00, 0xdc, 0xa4, 0x5d, 0xd1, 0x1e, 0xd8, 0x90, 0xc6, 0x0c, 0x89, 0x3c, 0x16,
+	0xed, 0x61, 0xf6, 0x11, 0xc0, 0xa5, 0xc6, 0xc6, 0x48, 0x8d, 0x27, 0x2d, 0xdf, 0xc2, 0x99, 0xfb,
+	0x6c, 0x25, 0x85, 0x4d, 0x5b, 0x52, 0xcd, 0x11, 0x77, 0xb1, 0x96, 0x1e, 0x26, 0x77, 0x30, 0x39,
+	0xbd, 0xd9, 0x4a, 0xee, 0xa9, 0xed, 0x88, 0x9f, 0x1f, 0x5f, 0x6b, 0x29, 0xf7, 0xb6, 0xf2, 0xb5,
+	0xd4, 0xdb, 0x7e, 0x6f, 0xbe, 0x72, 0xcf, 0xba, 0xad, 0x74, 0x61, 0x8e, 0x1a, 0x8f, 0x3d, 0x23,
+	0xa5, 0x0f, 0xe6, 0xa1, 0x6d, 0x3c, 0xe8, 0x83, 0x71, 0x0f, 0x67, 0xa5, 0x7f, 0x49, 0xfd, 0x75,
+	0x22, 0xbb, 0x57, 0x16, 0xa4, 0xc1, 0x22, 0x7e, 0x98, 0x64, 0x3f, 0x5f, 0x15, 0xa7, 0xe3, 0x24,
+	0x83, 0x81, 0x1f, 0xcb, 0x42, 0x32, 0xa7, 0xd9, 0x2f, 0xe5, 0xf0, 0x4e, 0xfa, 0x0a, 0x00, 0x00,
+	0xff, 0xff, 0x61, 0xbd, 0xc8, 0x4b, 0xae, 0x02, 0x00, 0x00,
+}
-- 
2.13.3



More information about the CRIU mailing list