US 12,131,152 B2
Application portability metric measurement
Madhusudan Aremallenahally Shivanna, Bangalore (IN); Sahil Ashish Ranadive, Nashik (IN); Akshit Grover, Haryana (IN); and Sumit Kumar Saha, Gujarat (IN)
Assigned to Cisco Technology, Inc., San Jose, CA (US)
Filed by Cisco Technology, Inc., San Jose, CA (US)
Filed on May 13, 2022, as Appl. No. 17/743,807.
Prior Publication US 2023/0367590 A1, Nov. 16, 2023
Int. Cl. G06F 8/77 (2018.01)
CPC G06F 8/77 (2013.01) 17 Claims
OG exemplary drawing
 
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.