1. A method for profiling a virtual machine on an embedded device, the method comprising: executing an application in a virtual machine on an embedded device; while executing the application in the virtual machine on the embedded device: receiving an operation-request at a system-level profiler from the virtual machine on the embedded device; recording the operation-request in a first system-level log; sending the operation-request to a native layer on the embedded device; receiving an operation-response associated with the operation-request from the native layer; recording the operation-response in the first system-level log, wherein recording the operation-response comprises recording device statistics for the embedded device in the first system-level log; sending the operation-response from the system-level profiler to the virtual machine; after the application has finished executing, sending the first system-level log to a platform-test system on a second device, thereby enabling the platform-test system to: use the first system-level log to emulate, on the second device, one or more interactions between the virtual machine and the native layer of the embedded device that occurred while application was executing in the virtual machine on the embedded device, wherein the emulation is performed without executing the application on the second device; record the emulation of the interactions on the second device in a second system-level log; and determine if a problem exists on the second device at least in part by comparing flow patterns found in the first system-level log and the second system-level log; wherein the second device is separate and different from the embedded device, and wherein the second device does not include a same virtual machine as the first device or does not include a virtual machine.