US 12,235,749 B2
Trace encoder with event filter
Bruce Ableidinger, Vancouver, WA (US); and Ernest L. Edgar, Colorado Springs, CO (US)
Assigned to SiFive, Inc., Santa Clara, CA (US)
Filed by SiFive, Inc., San Mateo, CA (US)
Filed on Mar. 20, 2023, as Appl. No. 18/123,834.
Claims priority of provisional application 63/388,978, filed on Jul. 13, 2022.
Prior Publication US 2024/0020216 A1, Jan. 18, 2024
Int. Cl. G06F 11/34 (2006.01); G06F 11/07 (2006.01); G06F 11/30 (2006.01)
CPC G06F 11/3476 (2013.01) [G06F 11/0772 (2013.01); G06F 11/3075 (2013.01)] 18 Claims
OG exemplary drawing
 
1. An apparatus comprising:
trace circuitry to:
receive a selection of one or more types of events possible in a processor core among multiple types of events;
receive trace information regarding an occurrence of an event, wherein the event is associated with an event type indicating that the event signifies a function call or a function return;
filter the trace information to generate a subset of the trace information based on the selection;
generate a message including the subset of the trace information when the event corresponding to the selection occurs in the processor core, the trace information including an address associated with the event and an indication of the type of event; and
store the message in a trace buffer.