From 45205d4dc6c28c708ed91a7d3702a2037b1c785a Mon Sep 17 00:00:00 2001 From: EvianZhang Date: Fri, 7 Feb 2025 16:40:32 +0800 Subject: [PATCH] Update MIGRATION (#2947) --- MIGRATION.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/MIGRATION.md b/MIGRATION.md index 27f803a77b..0b356b0ed6 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -6,6 +6,10 @@ - Since we don't evaluate testcases in the `EventManager` anymore. `on_fire` and `post_exec` have been deleted from `EventManagerHook`. - Similarly `pre_exec` has been renamed to `pre_receive`. - `AsanModule` now uses a `builder()` method for constructing its instances. +- `Monitor` is refactored. Most statistics have been extracted into an individual module `statistics` at crate root, and `Monitor` is kept as display only. + - There is a `ClientStatsManager` to manage client statistics, and is owned by `EventManager`. Most of previous `Monitor`'s trait methods have been moved to the `ClientStatsManager`. + - `user_monitor` has been renamed to `user_stats`, and its structure definitions have been moved to `statistics` module as well. + - `introspection_monitor` has been renamed to `introspection_stats`, and perf-related structure definitions have been renamed and moved to `statistics` module as well. # 0.14.1 -> 0.15.0 - `MmapShMem::new` and `MmapShMemProvider::new_shmem_with_id` now take `AsRef` instead of a byte array for the filename/id.