diff options
| author | Toomas Soome <tsoome@me.com> | 2021-09-12 13:43:58 +0300 |
|---|---|---|
| committer | Toomas Soome <tsoome@me.com> | 2022-08-30 19:09:40 +0300 |
| commit | 2570281cf351044b6936651ce26dbe1f801dcbd8 (patch) | |
| tree | 54957dc5692258b6308df50c8d0f73a334421091 /usr/src/uts/common/vm | |
| parent | 2ec63ffb3ec249bd7cb4523118c8437e6c6be335 (diff) | |
| download | illumos-joyent-2570281cf351044b6936651ce26dbe1f801dcbd8.tar.gz | |
14079 remove TNF
Reviewed by: Gordon Ross <gordon.w.ross@gmail.com>
Reviewed by: Igor Kozhukhov <igor@dilos.org>
Approved by: Garrett D'Amore <garrett@damore.org>
Diffstat (limited to 'usr/src/uts/common/vm')
| -rw-r--r-- | usr/src/uts/common/vm/seg_spt.c | 12 | ||||
| -rw-r--r-- | usr/src/uts/common/vm/vm_anon.c | 9 | ||||
| -rw-r--r-- | usr/src/uts/common/vm/vm_as.c | 7 | ||||
| -rw-r--r-- | usr/src/uts/common/vm/vm_page.c | 6 | ||||
| -rw-r--r-- | usr/src/uts/common/vm/vm_pvn.c | 8 |
5 files changed, 0 insertions, 42 deletions
diff --git a/usr/src/uts/common/vm/seg_spt.c b/usr/src/uts/common/vm/seg_spt.c index 1308935159..945bce54b3 100644 --- a/usr/src/uts/common/vm/seg_spt.c +++ b/usr/src/uts/common/vm/seg_spt.c @@ -49,7 +49,6 @@ #include <sys/vmsystm.h> #include <sys/policy.h> #include <sys/project.h> -#include <sys/tnf_probe.h> #include <sys/zone.h> #define SEGSPTADDR (caddr_t)0x0 @@ -344,10 +343,6 @@ sptcreate(size_t size, struct seg **sptseg, struct anon_map *amp, struct as *newas; struct segspt_crargs sptcargs; -#ifdef DEBUG - TNF_PROBE_1(sptcreate, "spt", /* CSTYLED */, - tnf_ulong, size, size ); -#endif if (segspt_minfree == 0) spt_setminfree(); @@ -379,9 +374,6 @@ void sptdestroy(struct as *as, struct anon_map *amp) { -#ifdef DEBUG - TNF_PROBE_0(sptdestroy, "spt", /* CSTYLED */); -#endif (void) as_unmap(as, SEGSPTADDR, amp->size); as_free(as); } @@ -553,10 +545,6 @@ segspt_create(struct seg **segpp, void *argsp) ASSERT(seg->s_as && AS_WRITE_HELD(seg->s_as)); ASSERT(sp != NULL); -#ifdef DEBUG - TNF_PROBE_2(segspt_create, "spt", /* CSTYLED */, - tnf_opaque, addr, addr, tnf_ulong, len, seg->s_size); -#endif if ((sptcargs->flags & SHM_PAGEABLE) == 0) { if (err = anon_swap_adjust(npages)) return (err); diff --git a/usr/src/uts/common/vm/vm_anon.c b/usr/src/uts/common/vm/vm_anon.c index 6785e6b4dd..e101860bf4 100644 --- a/usr/src/uts/common/vm/vm_anon.c +++ b/usr/src/uts/common/vm/vm_anon.c @@ -107,7 +107,6 @@ #include <sys/tuneable.h> #include <sys/debug.h> #include <sys/fs/swapnode.h> -#include <sys/tnf_probe.h> #include <sys/lgrp.h> #include <sys/policy.h> #include <sys/condvar_impl.h> @@ -2419,10 +2418,6 @@ anon_private( CPU_STATS_ADD_K(vm, cow_fault, 1); - /* Kernel probe */ - TNF_PROBE_1(anon_private, "vm pagefault", /* CSTYLED */, - tnf_opaque, address, addr); - *app = new = anon_alloc(NULL, 0); swap_xlate(new, &vp, &off); @@ -2802,10 +2797,6 @@ anon_zero(struct seg *seg, caddr_t addr, struct anon **app, struct cred *cred) page_t *anon_pl[1 + 1]; int err; - /* Kernel probe */ - TNF_PROBE_1(anon_zero, "vm pagefault", /* CSTYLED */, - tnf_opaque, address, addr); - *app = ap = anon_alloc(NULL, 0); swap_xlate(ap, &vp, &off); diff --git a/usr/src/uts/common/vm/vm_as.c b/usr/src/uts/common/vm/vm_as.c index e353692471..c217270943 100644 --- a/usr/src/uts/common/vm/vm_as.c +++ b/usr/src/uts/common/vm/vm_as.c @@ -56,7 +56,6 @@ #include <sys/vmsystm.h> #include <sys/cmn_err.h> #include <sys/debug.h> -#include <sys/tnf_probe.h> #include <sys/vtrace.h> #include <vm/hat.h> @@ -878,12 +877,6 @@ retry: break; } - /* Kernel probe */ - TNF_PROBE_3(address_fault, "vm pagefault", /* CSTYLED */, - tnf_opaque, address, addr, - tnf_fault_type, fault_type, type, - tnf_seg_access, access, rw); - raddr = (caddr_t)((uintptr_t)addr & (uintptr_t)PAGEMASK); rsize = (((size_t)(addr + size) + PAGEOFFSET) & PAGEMASK) - (size_t)raddr; diff --git a/usr/src/uts/common/vm/vm_page.c b/usr/src/uts/common/vm/vm_page.c index 131ee0ba1c..134b3bcb33 100644 --- a/usr/src/uts/common/vm/vm_page.c +++ b/usr/src/uts/common/vm/vm_page.c @@ -59,7 +59,6 @@ #include <sys/cpuvar.h> #include <sys/callb.h> #include <sys/debug.h> -#include <sys/tnf_probe.h> #include <sys/condvar_impl.h> #include <sys/mem_config.h> #include <sys/mem_cage.h> @@ -3569,11 +3568,6 @@ page_hashout(page_t *pp, kmutex_t *phm) TRACE_2(TR_FAC_VM, TR_PAGE_HASHOUT, "page_hashout:pp %p vp %p", pp, vp); - /* Kernel probe */ - TNF_PROBE_2(page_unmap, "vm pagefault", /* CSTYLED */, - tnf_opaque, vnode, vp, - tnf_offset, offset, pp->p_offset); - /* * */ diff --git a/usr/src/uts/common/vm/vm_pvn.c b/usr/src/uts/common/vm/vm_pvn.c index 1b8d12eb8d..aaad06792b 100644 --- a/usr/src/uts/common/vm/vm_pvn.c +++ b/usr/src/uts/common/vm/vm_pvn.c @@ -60,7 +60,6 @@ #include <sys/debug.h> #include <sys/cpuvar.h> #include <sys/vtrace.h> -#include <sys/tnf_probe.h> #include <vm/hat.h> #include <vm/as.h> @@ -563,13 +562,6 @@ pvn_write_done(page_t *plist, int flags) CPU_STATS_ADDQ(cpup, vm, execpgout, execpgout); CPU_STATS_ADDQ(cpup, vm, execfree, execfree); CPU_STATS_EXIT_K(); - - /* Kernel probe */ - TNF_PROBE_4(pageout, "vm pageio io", /* CSTYLED */, - tnf_opaque, vnode, vp, - tnf_ulong, pages_pageout, pgpgout, - tnf_ulong, pages_freed, dfree, - tnf_ulong, pages_reclaimed, pgrec); } /* |
