X-Git-Url: http://git.annexia.org/?p=virt-mem.git;a=blobdiff_plain;f=lib%2Fvirt_mem_types.ml;h=556a3c7be5f44110f0092e4a2d5338ec7cef151c;hp=f8d3f0f1c4e1971c5283213e887fef3948ca7495;hb=f6bb3caa719a564615e7fd2f21a3ad5bca010a88;hpb=a5fb949b73a604972a9b339fd6ec2786ea59f23c diff --git a/lib/virt_mem_types.ml b/lib/virt_mem_types.ml index f8d3f0f..556a3c7 100644 --- a/lib/virt_mem_types.ml +++ b/lib/virt_mem_types.ml @@ -41,19 +41,33 @@ type image = { } type utsname = { - kernel_name : string; - nodename : string; - kernel_release : string; - kernel_version : string; - machine : string; - domainname : string; + uts_kernel_name : string; + uts_nodename : string; + uts_kernel_release : string; + uts_kernel_version : string; + uts_machine : string; + uts_domainname : string; +} + +type task = { + task_state : int64; + task_prio : int64; + task_normal_prio : int64; + task_static_prio : int64; + task_comm : string; + task_pid : int64; +} + +type net_device = { + netdev_name : string; + netdev_dev_addr : string; } type kdata = { ksyms : ksymmap option; utsname : utsname option; - tasks : Virt_mem_mmap.addr option; - net_devices : Virt_mem_mmap.addr option; + tasks : task list option; + net_devices : net_device list option; } exception ParseError of string * string * string