git: 5463b82cfc - main - Status/2023Q1/kinst.adoc: Improve report

From: Lorenzo Salvadore <salvadore_at_FreeBSD.org>
Date: Sat, 25 Mar 2023 08:59:58 UTC
The branch main has been updated by salvadore:

URL: https://cgit.FreeBSD.org/doc/commit/?id=5463b82cfcdb7f6232592cb861caf8968ca119e5

commit 5463b82cfcdb7f6232592cb861caf8968ca119e5
Author:     Christos Margiolis <christos@FreeBSD.org>
AuthorDate: 2023-03-24 00:01:19 +0000
Commit:     Lorenzo Salvadore <salvadore@FreeBSD.org>
CommitDate: 2023-03-25 08:59:42 +0000

    Status/2023Q1/kinst.adoc: Improve report
    
    Also rename it to remove the quarter reference in the filename.
    
    Reviewed by:    status (Pau Amma <pauamma@gundo.com>)
    Approved by:    dbaio (co-mentor)
    Differential Revision: https://reviews.freebsd.org/D39239
---
 .../{kinst_2023q1.adoc => kinst.adoc}              | 44 ++++++++++------------
 1 file changed, 20 insertions(+), 24 deletions(-)

diff --git a/website/content/en/status/report-2023-01-2023-03/kinst_2023q1.adoc b/website/content/en/status/report-2023-01-2023-03/kinst.adoc
similarity index 76%
rename from website/content/en/status/report-2023-01-2023-03/kinst_2023q1.adoc
rename to website/content/en/status/report-2023-01-2023-03/kinst.adoc
index 743081d850..ef912d78fd 100644
--- a/website/content/en/status/report-2023-01-2023-03/kinst_2023q1.adoc
+++ b/website/content/en/status/report-2023-01-2023-03/kinst.adoc
@@ -16,47 +16,43 @@ We're now working on inline function tracing (see review D38825 above) -- a much
 
 ....
 	kinst::<inline_func>:<entry/return>
+	/<pred>/
+	{
+		<acts>
+	}
 ....
 
 To:
 
 ....
-	kinst::<caller_func1>:<offset>
-	kinst::<caller_func2>:<offset>
-	...
+	kinst::<caller_func1>:<offset>,
+	kinst::<caller_func2>:<offset>,
+	kinst::<caller_func3>:<offset>
+	/<pred>/
+	{
+		<acts>
+	}
 ....
 
 For example:
 
 ....
 	# dtrace -dn 'kinst::cam_iosched_has_more_trim:entry { printf("\t%d\t%s", pid, execname); }'
-	dtrace:::ERROR
-	{
-		((self->%error) = 0x1);
-	}
-
-	kinst::cam_iosched_get_trim:13
-	{
-		printf("\t%d\t%s", pid, execname);
-	}
-
-	kinst::cam_iosched_next_bio:13
-	{
-		printf("\t%d\t%s", pid, execname);
-	}
-
+	kinst::cam_iosched_get_trim:13,
+	kinst::cam_iosched_next_bio:13,
 	kinst::cam_iosched_schedule:40
 	{
 		printf("\t%d\t%s", pid, execname);
 	}
 
-	dtrace: description 'kinst::cam_iosched_has_more_trim:entry ' matched 4 probes
+	dtrace: description 'kinst::cam_iosched_has_more_trim:entry ' matched 3 probes
 	CPU     ID                    FUNCTION:NAME
-	  0  81502          cam_iosched_schedule:40     2       clock
-	  0  81501          cam_iosched_next_bio:13     2       clock
-	  2  81502          cam_iosched_schedule:40     2       clock
-	  1  81502          cam_iosched_next_bio:13     0	kernel
-	  1  81503          cam_iosched_schedule:40     0	kernel
+	  2  79315          cam_iosched_next_bio:13     0       kernel
+	  2  79316          cam_iosched_schedule:40     0       kernel
+	  0  79316          cam_iosched_schedule:40     12      intr
+	  2  79315          cam_iosched_next_bio:13     0       kernel
+	  2  79316          cam_iosched_schedule:40     0       kernel
+	  0  79316          cam_iosched_schedule:40     12      intr
 	^C
 ....