为了直观地显示Linux系统中关键操作的执行过程,探索了在Linux源码中嵌入程序片段采集数据、记录内核运行情况、并以可视化方式再现内核运行过程的方法。以重构某一时间段内内核的活动为目的,给出Linux运行状态的描述,以及在运行的内核中采集数据的方法。最后展示了一个具体操作过程的数据描述和对数据的可视化处理实例。
In order to show key operating process of Linux OS codes into key positions of Linux source code to collect data, visually, a method was proposed that inserted segments of record the kernel activities and then make them visual in visualization form, Aiming at reconstructing the kernel activities during certain period of time, the states of running Linux were described; the method of data acquisition was given out from running kernel. Finally, the descriptions and visual processing of a specific example were showed.