Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/checkpoint-restore/criu.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlice Frosi <alice@linux.vnet.ibm.com>2017-10-05 16:50:41 +0300
committerAndrei Vagin <avagin@virtuozzo.com>2017-10-17 08:40:44 +0300
commit16474786cbcfb0de70216fc3c81ad04ea9ee451f (patch)
tree9f63c0cb3b759d43c4b04614845c73ea83df894e /images/core-s390.proto
parenta14421045124982633c393be85ad6359eed814bf (diff)
s390: Add runtime-instrumentation support
Dump and restore process with RI control block. Runtime instrumentation allows to collect information about program execution as CPU data. The RI control block is dumped and restored for all threads. Ptrace kernel interface is provided by: c122bc239b13 ("s390/ptrace: add runtime instrumention register get/set") Signed-off-by: Alice Frosi <alice@linux.vnet.ibm.com> Reviewed-by: Michael Holzheu <holzheu@linux.vnet.ibm.com> Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
Diffstat (limited to 'images/core-s390.proto')
-rw-r--r--images/core-s390.proto6
1 files changed, 6 insertions, 0 deletions
diff --git a/images/core-s390.proto b/images/core-s390.proto
index 3b587fb38..497c73b20 100644
--- a/images/core-s390.proto
+++ b/images/core-s390.proto
@@ -34,6 +34,11 @@ message user_s390_gs_cb_entry {
repeated uint64 regs = 1;
}
+message user_s390_ri_entry {
+ required uint32 ri_on = 1;
+ repeated uint64 regs = 2;
+}
+
message thread_info_s390 {
required uint64 clear_tid_addr = 1[(criu).hex = true];
required user_s390_regs_entry gpregs = 2[(criu).hex = true];
@@ -42,4 +47,5 @@ message thread_info_s390 {
optional user_s390_vxrs_high_entry vxrs_high = 5[(criu).hex = true];
optional user_s390_gs_cb_entry gs_cb = 6[(criu).hex = true];
optional user_s390_gs_cb_entry gs_bc = 7[(criu).hex = true];
+ optional user_s390_ri_entry ri_cb = 8[(criu).hex = true];
}