0

SystemTap 笔记 (16)—— probe alias

Posted by nanxiao on 十二月 3, 2015 in SystemTap 笔记 |

Probe alias的语法: probe <alias> = <probepoint&gt […]

标签:

0

SystemTap 笔记 (15)—— syscall probes

Posted by nanxiao on 十二月 1, 2015 in SystemTap 笔记 |

SystemTap提供了系统调用(syscall)的probe: # stap -L “syscall.*” […]

标签:

0

SystemTap 笔记 (14)—— Tracing user-space程序需要安装debug-info包

Posted by nanxiao on 十一月 30, 2015 in SystemTap 笔记 |

SystemTap追踪user-space程序时需要安装user-space程序的debug-info包。举个 […]

标签:

0

SystemTap 笔记 (13)—— Statistical aggregate

Posted by nanxiao on 十一月 26, 2015 in SystemTap 笔记 |

Statistical aggregate主要用来统计一组数据。它使用“<<< value” […]

标签:

0

SystemTap 笔记 (12)—— Associate array和foreach

Posted by nanxiao on 十一月 26, 2015 in SystemTap 笔记 |

SystemTap也提供associate array,并且必须是global变量: global array […]

标签:

0

SystemTap 笔记 (11)—— 命令行参数

Posted by nanxiao on 十一月 23, 2015 in SystemTap 笔记 |

SystemTap使用$或@传递命令行参数:$传递整数参数,@传递字符串参数。举例如下: # cat test […]

标签:

0

SystemTap 笔记 (10)—— “@defined”和“@choose_defined”

Posted by nanxiao on 十一月 21, 2015 in SystemTap 笔记 |

随着代码的不断变化,有些target variable可能在新的版本里不存在了。@defined用来检查tar […]

标签:

0

SystemTap 笔记 (9)—— “?”和“!”

Posted by nanxiao on 十一月 14, 2015 in SystemTap 笔记 |

probe后面有时会跟?或是!字符: kernel.function(“no_such_function”) […]

标签:

0

SystemTap 笔记 (8)—— typecasting

Posted by nanxiao on 十一月 13, 2015 in SystemTap 笔记 |

当指针是一个void *类型,或是保存为整数后,可以使用cast运算符指定指针的数据类型: @cast(p, […]

标签:

0

SystemTap 笔记 (7)—— target variable (2)

Posted by nanxiao on 十一月 13, 2015 in SystemTap 笔记 |

SystemTap可以为target variable生成一系列可打印的字符串: $$vars Expands […]

标签:

Copyright © 2013-2017 我的站点 All rights reserved.
This site is using the Multi Child-Theme, v2.2, on top of
the Parent-Theme Desk Mess Mirrored, v2.5, from BuyNowShop.com