5.17.4 Event callback functions

Event callback functions are called for each event in an event stream that was previously created and enabled by eventStream_create().

The function name ec_FOO() is used as a placeholder for the real callback function name. The real name is specified with the ecFunc argument of the eventStream_create() call. If the ecFunc argument was not specified, then the function name is ec_<EventSourceInfo.name>, for example ec_INST for the INST event source.

When calling eventStream_create(), if syncEc is not specified or False, which is usually the case, the callback function is called asynchronously to the thread causing the event. If syncEc is True, the callback is called synchronously. This blocks the calling thread from executing in the target instance.

Non-ConfidentialPDF file icon PDF version101196_0100_03_en
Copyright © 2018, 2019 Arm Limited or its affiliates. All rights reserved.