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/sparc/os/syscall.c | |
parent | 2ec63ffb3ec249bd7cb4523118c8437e6c6be335 (diff) | |
download | illumos-gate-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/sparc/os/syscall.c')
-rw-r--r-- | usr/src/uts/sparc/os/syscall.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/usr/src/uts/sparc/os/syscall.c b/usr/src/uts/sparc/os/syscall.c index 07928e668c..7c48613b2b 100644 --- a/usr/src/uts/sparc/os/syscall.c +++ b/usr/src/uts/sparc/os/syscall.c @@ -52,8 +52,6 @@ #include <sys/modctl.h> #include <sys/aio_impl.h> #include <c2/audit.h> -#include <sys/tnf.h> -#include <sys/tnf_probe.h> #include <sys/machpcb.h> #include <sys/privregs.h> #include <sys/copyops.h> @@ -474,16 +472,6 @@ pre_syscall(int arg0) } } -#ifndef NPROBE - /* Kernel probe */ - if (tnf_tracing_active) { - TNF_PROBE_1(syscall_start, "syscall thread", /* CSTYLED */, - tnf_sysnum, sysnum, t->t_sysnum); - t->t_post_sys = 1; /* make sure post_syscall runs */ - repost = 1; - } -#endif /* NPROBE */ - #ifdef SYSCALLTRACE if (syscalltrace) { int i; @@ -795,17 +783,6 @@ sig_check: lwp->lwp_errno = 0; /* clear error for next time */ -#ifndef NPROBE - /* Kernel probe */ - if (tnf_tracing_active) { - TNF_PROBE_3(syscall_end, "syscall thread", /* CSTYLED */, - tnf_long, rval1, rval1, - tnf_long, rval2, rval2, - tnf_long, errno, (long)error); - repost = 1; - } -#endif /* NPROBE */ - /* * Set state to LWP_USER here so preempt won't give us a kernel * priority if it occurs after this point. Call CL_TRAPRET() to |