Renamed some profiling events.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3059 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/vg_main.c b/coregrind/vg_main.c
index 51bf48a..5a69316 100644
--- a/coregrind/vg_main.c
+++ b/coregrind/vg_main.c
@@ -2427,9 +2427,9 @@
/* Check that nobody has spuriously claimed that the first or
last 16 pages of memory have become accessible [...] */
if (VG_(needs).sanity_checks) {
- VGP_PUSHCC(VgpSkinCheapSanity);
+ VGP_PUSHCC(VgpToolCheapSanity);
vg_assert(SK_(cheap_sanity_check)());
- VGP_POPCC(VgpSkinCheapSanity);
+ VGP_POPCC(VgpToolCheapSanity);
}
/* --- Now some more expensive checks. ---*/
@@ -2452,9 +2452,9 @@
VG_(sanity_check_tt_tc)();
if (VG_(needs).sanity_checks) {
- VGP_PUSHCC(VgpSkinExpensiveSanity);
+ VGP_PUSHCC(VgpToolExpensiveSanity);
vg_assert(SK_(expensive_sanity_check)());
- VGP_POPCC(VgpSkinExpensiveSanity);
+ VGP_POPCC(VgpToolExpensiveSanity);
}
/*
if ((sanity_fast_count % 500) == 0) VG_(mallocSanityCheckAll)();
diff --git a/coregrind/vg_syscalls.c b/coregrind/vg_syscalls.c
index c3701cf..c2898f7 100644
--- a/coregrind/vg_syscalls.c
+++ b/coregrind/vg_syscalls.c
@@ -5793,9 +5793,9 @@
/* Do any pre-syscall actions */
if (VG_(needs).syscall_wrapper) {
- VGP_PUSHCC(VgpSkinSysWrap);
+ VGP_PUSHCC(VgpToolSysWrap);
tst->sys_pre_res = SK_(pre_syscall)(tid, syscallno, mayBlock);
- VGP_POPCC(VgpSkinSysWrap);
+ VGP_POPCC(VgpToolSysWrap);
}
PRINT("SYSCALL[%d,%d](%3d)%s%s:",
@@ -5926,9 +5926,9 @@
pre's than post's)
*/
if (VG_(needs).syscall_wrapper) {
- VGP_PUSHCC(VgpSkinSysWrap);
+ VGP_PUSHCC(VgpToolSysWrap);
SK_(post_syscall)(tid, syscallno, pre_res, res, /*isBlocking*/True); // did block
- VGP_POPCC(VgpSkinSysWrap);
+ VGP_POPCC(VgpToolSysWrap);
}
}
diff --git a/coregrind/vg_translate.c b/coregrind/vg_translate.c
index 649bace..264a9da 100644
--- a/coregrind/vg_translate.c
+++ b/coregrind/vg_translate.c
@@ -2524,7 +2524,7 @@
VGP_POPCC(VgpImprove);
}
- /* Skin's instrumentation (Nb: must set VG_(print_codegen) in case
+ /* Tool's instrumentation (Nb: must set VG_(print_codegen) in case
SK_(instrument) looks at it. */
VG_(print_codegen) = DECIDE_IF_PRINTING_CODEGEN_FOR_PHASE(3);
VGP_PUSHCC(VgpInstrument);
diff --git a/massif/ms_main.c b/massif/ms_main.c
index 3d96f55..1cd5d5f 100644
--- a/massif/ms_main.c
+++ b/massif/ms_main.c
@@ -200,7 +200,7 @@
VgpPrintHp,
VgpPrintXPts,
}
- VgpSkinCC;
+ VgpToolCC;
/*------------------------------------------------------------*/
/*--- Statistics ---*/