Skip to content

Commit 97770aa

Browse files
authored
Remove old field from dtrace action script (#1917)
The `upstairs_action.d` script had a reference to a field that no longer existed. Remove that field from the script. Fixes #1916
1 parent ae1da83 commit 97770aa

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tools/dtrace/upstairs_action.d

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Display internal Upstairs status.
33
*/
44
#pragma D option quiet
5-
#pragma D option strsize=1k
5+
#pragma D option strsize=2k
66
/*
77
* Print the header right away
88
*/
@@ -19,7 +19,7 @@ tick-1s
1919
/show > 20/
2020
{
2121
printf("%9s %9s %9s", "APPLY", "DOWN_S", "GUEST");
22-
printf(" %9s %9s %9s", "DFR_BLK", "DFR_MSG", "LEAK_CHK");
22+
printf(" %9s %9s", "DFR_BLK", "DFR_MSG");
2323
printf(" %9s %9s", "FLUSH_CHK", "STAT_CHK");
2424
printf(" %9s %9s", "CTRL_CHK", "NOOP");
2525
printf("\n");
@@ -34,7 +34,6 @@ crucible_upstairs*:::up-status
3434
printf(" %9s", json(copyinstr(arg1), "ok.up_counters.action_guest"));
3535
printf(" %9s", json(copyinstr(arg1), "ok.up_counters.action_deferred_block"));
3636
printf(" %9s", json(copyinstr(arg1), "ok.up_counters.action_deferred_message"));
37-
printf(" %9s", json(copyinstr(arg1), "ok.up_counters.action_leak_check"));
3837
printf(" %9s", json(copyinstr(arg1), "ok.up_counters.action_flush_check"));
3938
printf(" %9s", json(copyinstr(arg1), "ok.up_counters.action_stat_check"));
4039
printf(" %9s", json(copyinstr(arg1), "ok.up_counters.action_control_check"));

0 commit comments

Comments
 (0)