changeset 17566:518e78fccfc7

disp: remove TNF probes from FX and TS modules
author Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
date Sun, 31 Jul 2016 15:26:20 -0400
parents a348048796d0
children 20e1f823f7b1
files usr/src/uts/common/disp/fx.c usr/src/uts/common/disp/ts.c
diffstat 2 files changed, 0 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/uts/common/disp/fx.c	Sun Jul 31 11:04:35 2016 -0400
+++ b/usr/src/uts/common/disp/fx.c	Sun Jul 31 15:26:20 2016 -0400
@@ -1144,9 +1144,6 @@
 		} else {
 			schedctl_set_nopreempt(t, 0);
 			DTRACE_SCHED1(schedctl__preempt, kthread_t *, t);
-			TNF_PROBE_2(schedctl_preempt, "schedctl FX fx_preempt",
-			    /* CSTYLED */, tnf_pid, pid, ttoproc(t)->p_pid,
-			    tnf_lwpid, lwpid, t->t_tid);
 			/*
 			 * Fall through and be preempted below.
 			 */
@@ -1293,10 +1290,6 @@
 				thread_unlock_nopreempt(t);
 				return;
 			}
-			TNF_PROBE_2(schedctl_failsafe,
-			    "schedctl FX fx_tick", /* CSTYLED */,
-			    tnf_pid, pid, ttoproc(t)->p_pid,
-			    tnf_lwpid, lwpid, t->t_tid);
 		}
 		new_pri = fx_dptbl[fxpp->fx_pri].fx_globpri;
 		ASSERT(new_pri >= 0 && new_pri <= fx_maxglobpri);
--- a/usr/src/uts/common/disp/ts.c	Sun Jul 31 11:04:35 2016 -0400
+++ b/usr/src/uts/common/disp/ts.c	Sun Jul 31 15:26:20 2016 -0400
@@ -1432,9 +1432,6 @@
 			}
 			schedctl_set_nopreempt(t, 0);
 			DTRACE_SCHED1(schedctl__preempt, kthread_t *, t);
-			TNF_PROBE_2(schedctl_preempt, "schedctl TS ts_preempt",
-			    /* CSTYLED */, tnf_pid, pid, ttoproc(t)->p_pid,
-			    tnf_lwpid, lwpid, t->t_tid);
 			/*
 			 * Fall through and be preempted below.
 			 */
@@ -1594,11 +1591,6 @@
 					thread_unlock_nopreempt(t);
 					return;
 				}
-
-				TNF_PROBE_2(schedctl_failsafe,
-				    "schedctl TS ts_tick", /* CSTYLED */,
-				    tnf_pid, pid, ttoproc(t)->p_pid,
-				    tnf_lwpid, lwpid, t->t_tid);
 			}
 			tspp->ts_flags &= ~TSRESTORE;
 			tspp->ts_cpupri = ts_dptbl[tspp->ts_cpupri].ts_tqexp;