OSDN Git Service

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)
commitcf21be919c5960da2eb7bc91f8056adb27b56712
tree359dc62a5529d9c9cb1fae9fa6697a3606737d15
parentbba072d1627222325e79b7b8e6c0847e4a32d96c
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]