I'm trying to identify what system calls are made by my java program when it runs. Even more specifically, I want to know what java methods invoke what system calls. I've tried strace in Linux:
strace -o output.txt java MyProgram
This, however, outputs every system call my program makes into output.txt, and is not specific to each method. Thanks.