systemtap get var of the tracepoing

Posted honpey

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了systemtap get var of the tracepoing相关的知识,希望对你有一定的参考价值。

kernel.trace("sched_switch")

func:
func:perf_trace_sched_stat_template
 get the function in

probe begin {
    printf("Begin")
}

probe kernel.function("tracepoint_probe_register") {
//    printf("pre_comm:%s\n", kernel_string($prev->comm))
    printf("func:%s\n", symname($probe))

}

probe end {
    printf("End")
}

defined in include/trace/trace_events.h

以上是关于systemtap get var of the tracepoing的主要内容,如果未能解决你的问题,请参考以下文章

ubuntu:solve the problem of 'E:Problem with MergeList /var/lib/apt/lists/'

Get the Handle Of the Main Window in WPF

The Go Blog Getting to Go: The Journey of Go's Garbage Collector

csharp: using OleDb Getting the identity of the most recently added record

zoj 2771 - Get Out of the Glass

How to Get the Length of File in C