From 44ad0c0b2f9f680f0fcaea7f3f13371d5ae52424 Mon Sep 17 00:00:00 2001 From: Ryoji Kurosawa Date: Fri, 25 Oct 2024 10:12:09 +0900 Subject: [PATCH] add last_steal_from in the task trace log --- src/jogasaki/scheduler/flat_task.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jogasaki/scheduler/flat_task.cpp b/src/jogasaki/scheduler/flat_task.cpp index 6d140781..d9126ef5 100644 --- a/src/jogasaki/scheduler/flat_task.cpp +++ b/src/jogasaki/scheduler/flat_task.cpp @@ -147,7 +147,7 @@ bool flat_task::execute(tateyama::task_scheduler::context& ctx) { } VLOG_LP(log_trace) << "task begin " << *this << " job_id:" << utils::hex(req_context_->job()->id()) << " kind:" << kind_ << " sticky:" << sticky_ << " worker:" << ctx.index() - << " stolen:" << ctx.task_is_stolen(); + << " stolen:" << ctx.task_is_stolen() << " last_steal_from:" << ctx.last_steal_from(); bool ret = false; switch(kind_) { using kind = flat_task_kind;