Hi , I am new to python coding . I have a Strace output file and i need to extract two columns. The sample Strace file i have attached
here i would like to extract the "calls" columns and store the count of the calls withrespect to the syscall. I have another file that has all the 180 system calls. I want to match the syscall from strace output file with completesyscalls file and if a call has been call store the count in another file, if the call has not been called store zero value.and this should be in a comma seperated format.

I want something output like this:
0,0,312,2038,23,2038,13,848,0,0,0,0,0,0,72,33,0,0,0,1,0,88,0,59,0,123,30,92,9,53,0,59,1,1,1,0,0,0,0

Recommended Answers

All 2 Replies

Hey thanks.. Let me work on this and will get back to you if needed more help

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.