163 lines
4.5 KiB
Plaintext
163 lines
4.5 KiB
Plaintext
|
global __hitcount = 0
|
||
|
global __StandaloneFunction = 0
|
||
|
global __inner_StandaloneFunction = 0
|
||
|
global __moreinner_StandaloneFunction = 0
|
||
|
global __stMethod = 0
|
||
|
global __inner_CLASS1_stMethod = 0
|
||
|
global __moreinner_star_stMethod = 0
|
||
|
global __prMethod = 0
|
||
|
global __inner_CLASS1_prMethod = 0
|
||
|
global __moreinner_star_prMethod = 0
|
||
|
global __puMethod = 0
|
||
|
global __inner_CLASS1_puMethod = 0
|
||
|
global __moreinner_star_puMethod = 0
|
||
|
|
||
|
probe process("classes").function("StandaloneFunction").call{
|
||
|
__StandaloneFunction++
|
||
|
__hitcount++
|
||
|
printf("StandaloneFunction start: %s\n", probefunc());
|
||
|
}
|
||
|
|
||
|
probe process("classes").function("StandaloneFunction").return{
|
||
|
__StandaloneFunction--
|
||
|
__hitcount++
|
||
|
printf("StandaloneFunction end: %s\n", probefunc());
|
||
|
}
|
||
|
|
||
|
probe process("classes").function("inner::StandaloneFunction").call{
|
||
|
__inner_StandaloneFunction++
|
||
|
__hitcount++
|
||
|
printf("inner::StandaloneFunction start: %s\n", probefunc());
|
||
|
}
|
||
|
|
||
|
probe process("classes").function("inner::StandaloneFunction").return{
|
||
|
__inner_StandaloneFunction--
|
||
|
__hitcount++
|
||
|
printf("inner::StandaloneFunction end: %s\n", probefunc());
|
||
|
}
|
||
|
|
||
|
probe process("classes").function("moreinner::StandaloneFunction").call{
|
||
|
__moreinner_StandaloneFunction++
|
||
|
__hitcount++
|
||
|
printf("moreinner::StandaloneFunction start: %s\n", probefunc());
|
||
|
}
|
||
|
|
||
|
probe process("classes").function("moreinner::StandaloneFunction").return{
|
||
|
__moreinner_StandaloneFunction--
|
||
|
__hitcount++
|
||
|
printf("moreinner::StandaloneFunction end: %s\n", probefunc());
|
||
|
}
|
||
|
// ============================================================================
|
||
|
probe process("classes").function("stMethod").call{
|
||
|
__stMethod++
|
||
|
__hitcount++
|
||
|
printf("stMethod start: %s\n", probefunc());
|
||
|
}
|
||
|
|
||
|
probe process("classes").function("stMethod").return{
|
||
|
__stMethod--
|
||
|
__hitcount++
|
||
|
printf("stMethod end: %s\n", probefunc());
|
||
|
}
|
||
|
|
||
|
probe process("classes").function("inner::CLASS1::stMethod").call{
|
||
|
__inner_CLASS1_stMethod++
|
||
|
__hitcount++
|
||
|
printf("inner::stMethod start: %s\n", probefunc());
|
||
|
}
|
||
|
|
||
|
probe process("classes").function("inner::CLASS1::stMethod").return{
|
||
|
__inner_CLASS1_stMethod--
|
||
|
__hitcount++
|
||
|
printf("inner::stMethod end: %s\n", probefunc());
|
||
|
}
|
||
|
|
||
|
probe process("classes").function("moreinner::*::stMethod").call{
|
||
|
__moreinner_star_stMethod++
|
||
|
__hitcount++
|
||
|
printf("moreinner::stMethod start: %s\n", probefunc());
|
||
|
}
|
||
|
|
||
|
probe process("classes").function("moreinner::*::stMethod").return{
|
||
|
__moreinner_star_stMethod--
|
||
|
__hitcount++
|
||
|
printf("moreinner::stMethod end: %s\n", probefunc());
|
||
|
}
|
||
|
//=============================================================================
|
||
|
|
||
|
probe process("classes").function("prMethod").call{
|
||
|
__prMethod++
|
||
|
__hitcount++
|
||
|
printf("prMethod start: %s\n", probefunc());
|
||
|
}
|
||
|
|
||
|
probe process("classes").function("prMethod").return{
|
||
|
__prMethod--
|
||
|
__hitcount++
|
||
|
printf("prMethod end: %s\n", probefunc());
|
||
|
}
|
||
|
|
||
|
probe process("classes").function("inner::CLASS1::prMethod").call{
|
||
|
__inner_CLASS1_prMethod++
|
||
|
__hitcount++
|
||
|
printf("inner::prMethod start: %s\n", probefunc());
|
||
|
}
|
||
|
|
||
|
probe process("classes").function("inner::CLASS1::prMethod").return{
|
||
|
__inner_CLASS1_prMethod--
|
||
|
__hitcount++
|
||
|
printf("inner::prMethod end: %s\n", probefunc());
|
||
|
}
|
||
|
|
||
|
probe process("classes").function("moreinner::*::prMethod").call{
|
||
|
__moreinner_star_prMethod++
|
||
|
__hitcount++
|
||
|
printf("moreinner::prMethod start: %s\n", probefunc());
|
||
|
}
|
||
|
|
||
|
probe process("classes").function("moreinner::*::prMethod").return{
|
||
|
__moreinner_star_prMethod--
|
||
|
__hitcount++
|
||
|
printf("moreinner::prMethod end: %s\n", probefunc());
|
||
|
}
|
||
|
|
||
|
//=============================================================================
|
||
|
|
||
|
probe process("classes").function("puMethod").call{
|
||
|
__puMethod++
|
||
|
__hitcount++
|
||
|
printf("puMethod start: %s\n", probefunc());
|
||
|
}
|
||
|
|
||
|
probe process("classes").function("puMethod").return{
|
||
|
__puMethod--
|
||
|
__hitcount++
|
||
|
printf("puMethod end: %s\n", probefunc());
|
||
|
}
|
||
|
|
||
|
probe process("classes").function("inner::CLASS1::puMethod").call{
|
||
|
__inner_CLASS1_puMethod++
|
||
|
__hitcount++
|
||
|
printf("inner::puMethod start: %s\n", probefunc());
|
||
|
}
|
||
|
|
||
|
probe process("classes").function("inner::CLASS1::puMethod").return{
|
||
|
__inner_CLASS1_puMethod--
|
||
|
__hitcount++
|
||
|
printf("inner::puMethod end: %s\n", probefunc());
|
||
|
}
|
||
|
|
||
|
probe process("classes").function("moreinner::*::puMethod").call{
|
||
|
__moreinner_star_puMethod++
|
||
|
__hitcount++
|
||
|
printf("moreinner::puMethod start: %s\n", probefunc());
|
||
|
}
|
||
|
|
||
|
probe process("classes").function("moreinner::*::puMethod").return{
|
||
|
__moreinner_star_puMethod--
|
||
|
__hitcount++
|
||
|
printf("moreinner::puMethod end: %s\n", probefunc());
|
||
|
}
|
||
|
|
||
|
|