CPC G06F 8/77 (2013.01) | 17 Claims |
1. A method, comprising:
executing, by a computing device executing a test process, an application under test that is part of a user space and separate from a kernel space;
monitoring, by the computing device, execution of the application under test for system calls specific to a particular operating system in which the application under test is being executed by utilizing an enhanced Berkley Packet Filter (eBPF) to intercept OS-level system-calls made by the application under test, wherein the eBPF is located in the kernel space and separate from the user space;
capturing and filtering, by the computing device, system calls specific to the particular operating system during the execution of the application under test to determine a count of calls specific to the particular operating system and to identify one or more logical divisions within the application under test;
computing, by the computing device, a portability metric based on the count of system calls specific to the particular operating system, the portability metric indicative of how dependent the application under test is on the particular operating system; and
presenting, by the computing device, the portability metric as a heat map of low, medium, and high dependency on the particular operating system.
|