]> git.baikalelectronics.ru Git - kernel.git/commit
hv_balloon: trace post_status
authorVitaly Kuznetsov <vkuznets@redhat.com>
Mon, 5 Mar 2018 05:17:22 +0000 (22:17 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 6 Mar 2018 17:57:17 +0000 (09:57 -0800)
commitff638466eaf6c230e1024f9950afc146910f42a5
tree359dc62a5529d9c9cb1fae9fa6697a3606737d15
parentdf798adbefd3c20a77adb9cfd5fe7382d9b7b708
hv_balloon: trace post_status

Hyper-V balloon driver makes non-trivial calculations to convert Linux's
representation of free/used memory to what Hyper-V host expects to see. Add
a tracepoint to see what's being sent and where the data comes from.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/Makefile
drivers/hv/hv_balloon.c
drivers/hv/hv_trace_balloon.h [new file with mode: 0644]