ktap A lightweight script-based dynamic tracing tool for Linux

ktap is a new script-based 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 allows users to tune, troubleshoot and extend kernel and application. It's similar with Linux Systemtap and Solaris Dtrace.

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 kernel module for each script, safe to use in production environment, fulfilling the embedded ecosystem's tracing needs.

A short summary of features

Simplesimple but powerful scripting language
Fastregister based interpreter (heavily optimized) in Linux kernel
Lightweightsmall and lightweight (6KLOC of interpreter)
Compilationnot depend on gcc for each script running
Embeddedeasy to use in embedded environment without debugging info
Tracingsupport for tracepoint, kprobe, uprobe, function trace, timer and more
Architecturesupported in x86, arm, ppc, mips
Safetysafety in sandbox
LicenseGPL v2

A very small taste of what it looks like

#/usr/bin/env ktap

#trace all syscalls in system
trace syscalls:* {
  print(cpu(), pid(), execname(), argevent)

友情链接1:网上赌博 博彩评级 百家乐网站 百家乐玩法 澳门博彩公司 老虎机 188金宝博 真钱斗地主 新全讯网 澳门外围赌博 澳门赌场筹码 澳门威尼斯人 888真人娱乐城 肉蒲电影完整版观看 赌马 赌球网站 牛牛赌博 澳门真人赌博 百家乐平台 bet365体育在线 全讯网 外围网站 外围赌球网站 外围赌球 澳门外围赌博 澳门外围网站 澳门赌场攻略 澳门威尼斯 澳门赌场筹码 澳门威尼斯人赌场 威尼斯人 澳门威尼斯人 澳门赌城 威尼斯 真人娱乐场 澳门百家乐赌场 网络博彩公司 肉蒲电影完整版观看 解开美女胸衣 一路向西电影完整版