PCR 7653 - Consider allowing multiple user defined enumerations for system event log
Summary: Consider allowing multiple user defined enumerations for system event log
Status: NEW
Alias: None
Product: Kernel
Classification: Deos
Component: Kernel (show other PCRs)
Version: mainline
Hardware: All Deos
: Hold
: Enhancement
Target Milestone: mainline
Assignee: .Kernel
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-06-15 11:44 MST by Richard Frost
Modified: 2025-03-21 07:32 MST (History)
2 users (show)

See Also:
Impact Assessment: ---
Organization: ---
alarson: Requirements?
alarson: Code?
alarson: TestCases?
alarson: TestProcedures?
alarson: Other?


Attachments

Note You need to log in before you can comment on or make changes to this PCR.
Description Richard Frost 2012-06-15 11:44:59 MST
It would be nice if Deos supplied apps could log information that status monitor/timemap could know about. Currently logSystemEvent will always use the enumeration user_defined_event and there is only a 32 bit data field to differentiate. Therefore apps and shared libraries may conflict with the interpretation of this field and status monitor cannot assume a user_defined_event came from a Deos library.

One proposal would be to extend the execution_history_t enumeration to have lots of user defined events. This is a 32 bit value with under 100 values currently assigned. We could define many spares for kernel growth and then a large range of user defined events. A portion of this range can be documented for Deos supplied apps/libraries and a portion for user apps. Then we could have a new API:
logSystemEventEx(execution_history_t event, DWORD data);
logSystemEvent could be deprecated, but would maintain backward compatability by continuing to use user_defined_event as the event.

This allows the supplied apps to log a full 32 bit data value, using separate enumerations to distinguish the events. An example is the 653 runtime which logs several different types of events and would like to associate the 32 bit 653 process id or other data with the event.
Comment 1 deosbugs.ccb 2012-06-21 13:01:43 MST
CCB visited this PCR on 2012-06-21.
Comment 2 deosbugs.ccb 2012-08-24 09:21:40 MST
CCB visited this PCR on 2012-08-24
Comment 3 deosbugs.ccb 2012-11-19 12:20:39 MST
CCB visited this PCR on 2012-11-19
Comment 4 deosbugs.ccb 2013-02-12 21:18:25 MST
CCB visited this PCR on 2013-02-12
Comment 5 deosbugs.ccb 2013-03-18 14:36:32 MST
CCB visited this PCR on 2013-03-18
Comment 6 deosbugs.ccb 2013-05-15 10:13:10 MST
CCB visited this PCR on 2013-05-15
Comment 7 deosbugs.ccb 2013-07-19 11:26:50 MST
CCB visited this PCR on 2013-07-19
Comment 8 deosbugs.ccb 2013-11-15 17:41:04 MST
CCB visited this PCR on 2013-11-15
Comment 9 deosbugs.ccb 2014-05-20 10:15:16 MST
CCB 2 visited this PCR on 2014-05-20
Comment 10 deosbugs.ccb 2014-07-14 15:12:43 MST
CCB visited this PCR on 2014-07-14
Comment 11 deosbugs.ccb 2014-11-11 13:17:46 MST
CCB 2 visited this PCR on 2014-11-11
Comment 12 deosbugs.ccb 2014-11-17 08:59:00 MST
CCB visited this PCR on 2014-11-17
Comment 13 deosbugs.ccb 2016-04-18 12:57:13 MST
CCB visited this PCR on 2016-04-18
Comment 14 deosbugs.ccb 2016-06-20 13:10:09 MST
CCB visited this PCR on 2016-06-20
Comment 15 deosbugs.ccb 2017-02-01 09:38:22 MST
CCB visited this PCR on 2017-02-01-59501
Comment 16 deosbugs.ccb 2017-06-28 13:01:28 MST
CCB visited this PCR on 2017-06-28-69227
Comment 17 deosbugs.ccb 2017-07-06 11:07:29 MST
CCB visited this PCR on 2017-07-06-58325
Comment 18 deosbugs.ccb 2021-03-26 09:36:52 MST
CCB visited this PCR on 2021-03-26-57787
Comment 19 deosbugs.ccb 2021-04-05 09:53:58 MST
CCB visited this PCR on 2021-04-05-59141
Comment 20 deosbugs.ccb 2023-08-14 11:06:29 MST
CCB visited this PCR on 2023-08-14-64795
Comment 21 deosbugs.ccb 2023-08-18 08:08:31 MST
PCR to remain on HOLD for Kismet, as no customer requesting this feature.
Comment 22 rroffelsen 2025-03-21 07:32:28 MST
Perhaps the event ID should be split into 2 16-bit values. This would allow the user and the kernel to log an additional 16-bits of information with each event. At a minimum the kernel could use this to add the exception ID to the exception events (raised, blocked, delivered, discarded) it logs.