Re: [PATCH v4 09/14] simpletrace: refactor to separate responsibilities

2023-09-20 Thread Stefan Hajnoczi
On Wed, Aug 23, 2023 at 10:54:24AM +0200, Mads Ynddal wrote: > From: Mads Ynddal > > Moved event_mapping and event_id_to_name down one level in the function > call-stack to keep variable instantiation and usage closer (`process` > and `run` has no use of the variables; `read_trace_records`

[PATCH v4 09/14] simpletrace: refactor to separate responsibilities

2023-08-23 Thread Mads Ynddal
From: Mads Ynddal Moved event_mapping and event_id_to_name down one level in the function call-stack to keep variable instantiation and usage closer (`process` and `run` has no use of the variables; `read_trace_records` does). Instead of passing event_mapping and event_id_to_name to the bottom