Remove unhandled event error
This commit is contained in:
parent
f22b45f5d9
commit
9d6b5cb77b
1 changed files with 0 additions and 3 deletions
|
@ -14,7 +14,6 @@
|
||||||
|
|
||||||
"""Module for event handler."""
|
"""Module for event handler."""
|
||||||
|
|
||||||
import sys
|
|
||||||
from typing import Callable
|
from typing import Callable
|
||||||
from typing import Dict
|
from typing import Dict
|
||||||
from typing import List
|
from typing import List
|
||||||
|
@ -68,5 +67,3 @@ class EventHandler():
|
||||||
cpu_id = get_field(event, 'cpu_id')
|
cpu_id = get_field(event, 'cpu_id')
|
||||||
metadata = EventMetadata(event_name, pid, tid, timestamp, procname, cpu_id)
|
metadata = EventMetadata(event_name, pid, tid, timestamp, procname, cpu_id)
|
||||||
handler_function(event, metadata)
|
handler_function(event, metadata)
|
||||||
else:
|
|
||||||
print(f'unhandled event name: {event_name}', file=sys.stderr)
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue