-
Notifications
You must be signed in to change notification settings - Fork 298
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core.packet: record packet allocation events to timeline
- Loading branch information
Showing
3 changed files
with
48 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
2|packet_allocated: | ||
A packet has been allocated from the packet freelist. | ||
|
||
2|packet_freed: length | ||
A packet has been freed to the packet freelist. | ||
|
||
'length' is the byte size of the packet. | ||
|
||
6|packets_preallocated: packets | ||
DMA memory for packets had been preallocated from the operating system. | ||
|
||
'packets' is the number of packets for which space has been reserved. | ||
|
||
4|group_freelist_wait: | ||
The process is waiting to acquire the group freelist’s lock. | ||
|
||
4|group_freelist_locked: | ||
The process has acquired the group freelist’s lock. | ||
|
||
4|group_freelist_unlocked: | ||
The process has released the group freelist’s lock. | ||
|
||
4|group_freelist_released: packets | ||
The packet freelist was rebalanced with the group freelist. | ||
|
||
'packets' is the number of packets released to the group freelist. | ||
|
||
4|group_freelist_reclaimed: packets | ||
The packet freelist was refilled from the group freelist. | ||
|
||
'packets' is the number of packets reclaimed from the group freelist. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters