From 0be4d809c12fbe742b34c7f651182b6c535fc598 Mon Sep 17 00:00:00 2001 From: eve Date: Wed, 28 May 2025 21:16:04 +0100 Subject: [PATCH] Linux: update PerfEvents plugin to use VersionRequirement for pslist --- volatility3/framework/plugins/linux/tracing/perf_events.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/plugins/linux/tracing/perf_events.py b/volatility3/framework/plugins/linux/tracing/perf_events.py index 3e0a40579..23b2f2c72 100644 --- a/volatility3/framework/plugins/linux/tracing/perf_events.py +++ b/volatility3/framework/plugins/linux/tracing/perf_events.py @@ -18,7 +18,7 @@ class PerfEvents(plugins.PluginInterface): """Lists performance events for each process.""" _required_framework_version = (2, 0, 0) - _version = (1, 0, 0) + _version = (1, 0, 1) @classmethod def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]: @@ -28,8 +28,8 @@ class PerfEvents(plugins.PluginInterface): description="Linux kernel", architectures=["Intel32", "Intel64"], ), - requirements.PluginRequirement( - name="pslist", plugin=pslist.PsList, version=(4, 0, 0) + requirements.VersionRequirement( + name="pslist", component=pslist.PsList, version=(4, 0, 0) ), ]