The Study of Data Collecting Based on Kprobe

API traces have been used to analyze user behaviour and system software behaviour for years, which lead to advances in file system and storage technologies. We describe the implementation of a lightweight and dynamic API collecting tool which calls Trace_probe in this paper. Trace_probe can trace information of the kernels. It based on kprobe mechanism which is implemented in the 2.6 linux kernel and later versions. This tool is designed to be a mount/unmount module, and its characteristics are simple and lightweight. While it works, it will not affect the normal operations of the users. Further experiments show Trace_probe has some advantags in terms of application limitationen and performance degradation.

[1]  William Gropp,et al.  From Trace Generation to Visualization: A Performance Framework for Distributed Parallel Systems , 2000, ACM/IEEE SC 2000 Conference (SC'00).

[2]  Jesús Labarta,et al.  On the Scalability of Tracing Mechanisms , 2002, Euro-Par.

[3]  Wolfgang E. Nagel,et al.  Scalable Performance Analysis of Parallel Systems: Concepts and Experiences , 2003, PARCO.

[4]  Michael Gerndt,et al.  Distributed Application Monitoring for Clustered SMP Architectures , 2003, Euro-Par.

[5]  Erez Zadok,et al.  Tracefs: A File System to Trace Them All , 2004, FAST.

[6]  Wolfgang E. Nagel,et al.  Construction and compression of complete call graphs for post-mortem program trace analysis , 2005, 2005 International Conference on Parallel Processing (ICPP'05).

[7]  Barton P. Miller,et al.  On-line automated performance diagnosis on thousands of processes , 2006, PPoPP '06.

[8]  Bernd Mohr,et al.  Large Event Traces in Parallel Performance Analysis , 2006, ARCS Workshops.

[9]  Bin Zhang,et al.  Cluster Based Detection and Analysis of Internet Topics , 2011, 2011 Fourth International Symposium on Computational Intelligence and Design.

[10]  Bin Zhang,et al.  Online Web Sentiment Analysis on Campus Network , 2011, 2011 Fourth International Symposium on Computational Intelligence and Design.