From cfaf5fbaebea18a7a4925cc1cc89ab38d57f4286 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20Bara=C3=BAna?= Date: Thu, 13 Jun 2024 10:39:18 -0300 Subject: [PATCH] Update lib/kino/process/tracer.ex MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Jonatan KÅ‚osko --- lib/kino/process/tracer.ex | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/kino/process/tracer.ex b/lib/kino/process/tracer.ex index 0d4d0079..0499e921 100644 --- a/lib/kino/process/tracer.ex +++ b/lib/kino/process/tracer.ex @@ -32,7 +32,11 @@ defmodule Kino.Process.Tracer do } trace_events = [new_event | trace_info.raw_trace_events] - process_labels = update_process_labels(trace_info.process_labels, from, to) + + process_labels = + trace_info.process_labels + |> put_new_label(from) + |> put_new_label(to) {:noreply, %{trace_info | raw_trace_events: trace_events, process_labels: process_labels}} end