当前位置:首页 > 开发 > 开源软件 > 正文

ktap 0.1 released

发表于: 2013-05-26   作者:bookjovi   来源:转载   浏览:
摘要: Dear, I'm pleased to announce that ktap release v0.1, this is the first official release of ktap project, it is expected that this release is not fully functional or very stable and we welcome bu
Dear,

I'm pleased to announce that ktap release v0.1, this is the first official
release of ktap project, it is expected that this release is not fully
functional or very stable and we welcome bug reports and fixes for the issues.

= what's ktap?

   A New Scripting Dynamic Tracing Tool For Linux

   KTAP is a new scripting dynamic tracing tool for Linux, it uses a
   scripting language and lets users trace the Linux kernel dynamically.
   KTAP is designed to give operational insights with interoperability
   that allow users to tune, troubleshoot and extend kernel and application.

   KTAP have different design principles from Linux mainstream dynamic tracing
   language in that it's based on bytecode, so it doesn't depend upon GCC,
   doesn't require compiling a kernel module, safe to use in production
   environment, fulfilling the embedd ecosystem's tracing needs.

   KTAP also is designed for enabling great interoperability with Linux kernel,
   it gives user the power to modify and extend the system, and let users
   explore the system in an easy way.

   KTAP is released as GPL license.

   More information can be found at ktap/doc directory.

= Features

   Because this is the first release, so there wouldn't include too much features,
   just contain several basic features about tracing,  here are the summary:

   1) support x86-32 and x86-64 (other arch is not tested yet)
   2) support tracepoints, syscalls, kprobes, kretprobes
   3) timer
   4) dumpstack
   5) many built-in functions and library functions in there

   There have many features on the todo list, so it will support more
   features in future, and be more stable than this release.

= Planned Changes

   we are planning to enable more kernel interoperability into ktap, implement more
   sample scripts, and performance boost.

= Code

   Please download code from:
   https://github.com/ktap/ktap.git

= Building & Running

   [root@jovi]# git clone https://github.com/ktap/ktap.git

   [root@jovi]# cd ktap
   [root@jovi]# make       #generate ktapvm kernel module and userspace ktap tool

   [root@jovi]# insmod ./ktapvm.ko
   [root@jovi]# ./ktap scripts/syscalls.kp


= Simple syscall tracing example

        function eventfun (e) {
                printf("%d %d\t%s\t%s", cpu(), pid(), execname(), e.tostring())
        }

        kdebug.probe("tp:syscalls", eventfun)

        kdebug.probe_end(function () {
                printf("probe end\n")
        })


= Examples/Documentation

   Example is in ktap/scripts/
   Documentation is in ktap/doc/

= Mailing list

   ktap@freelists.org
   You can subscribe KTAP mailing list at link: http://www.freelists.org/list/ktap

= Contribution

   KTAP is still under active development, so contribution is welcome.
   You are encouraged to report bugs, provide feedback, send feature request, or hack on it.

= LWN Review on ktap
    http://lwn.net/Articles/551314/

.jovi

ktap 0.1 released

  • 0

    开心

    开心

  • 0

    板砖

    板砖

  • 0

    感动

    感动

  • 0

    有用

    有用

  • 0

    疑问

    疑问

  • 0

    难过

    难过

  • 0

    无聊

    无聊

  • 0

    震惊

    震惊

编辑推荐
做了一个比较当当 卓越 china-pub 图书的价格的手机应用。 搜索界面如下: 价格比对结果: 程序最初
http://download.servasoftware.com/twaver/demo/demo.html http://download.servasoftware.com/twa
IsoAlgo2.0 is released! Figure 1. Piping Isometric Drawing generated by IsoAlgo Figure 2. Pip
愚人节前一天发布,练手的东西,我会不断的优化的!等到1.0的时候,就可以上Mac APP Store,遭遇狗
不止于能用,oKit3.2全新发布,带来更多惊喜! 在oKit3.1的基础上,oKit3.2根据需求新增了以下功能
2.1的release版本在前几天发布了,比2.1beta稳定一些,减少了一两个bug,没有太多更新,guide上有一
平时上网总能看到些好的代码和文章,我们一般把它保存为html,但是时间久了这些文件过于分散,很多东
本程序由纯js编写,主要用于blog阅读和收集,是《 code collection》的姐妹篇,目前只支持rss2.0,支持u
学霸Beta版本搜索引擎发布啦!! 软件主要特性: 针对文档与问答提供高质量、近实时的全文检索功能
DocOptimizer 是一个文档优化工具,它通过移除Excel中多余的单元格;将嵌入的OLE替换成图片;移除文
版权所有 IT知识库 CopyRight © 2009-2015 IT知识库 IT610.com , All Rights Reserved. 京ICP备09083238号