From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qt1-f181.google.com (mail-qt1-f181.google.com [209.85.160.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AB0772E737E for ; Tue, 6 Oct 2026 14:38:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791297494; cv=none; b=J2dLzIO56LvAzYknoy0xQrkYUIGRMek73cNzUHpuaWAGkpPWZ0WIerqSlbGXqft0Gav+p+895uOlxFD8vpwAWWjbwTcDhbCGvw1jDgYQPWxRj9Cpdeo3HHZLUv6Gajqa1VyFapfrZe0NPkxDjZT0SrdIHvemFoyaP1zc5UVHN38= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791297494; c=relaxed/simple; bh=BI7W9wubY/vR4THh6mpojWzOYxUuITA6CUG9wsqaScU=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=AZBPw/b5Ew/bOEDCHi8fywFgY+sz981FyPnCUWKiiJ1u4quXItk1mRNytYWjUofi6pggsMD0SWOOO/hJ+v1yLtJoRAhow3osWWsV43lS38XyYbbLOBRtmAJoQZ8OZfXhKql53cUmDpOOBbdu54IjrOzMFJQbh/F+fEtFtyM4aWo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=ak7Xkf6U; arc=none smtp.client-ip=209.85.160.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ak7Xkf6U" Received: by mail-qt1-f181.google.com with SMTP id d75a77b69052e-533778ab0bdso7642831cf.3 for ; Tue, 06 Oct 2026 07:38:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1791297491; x=1791902291; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:to:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to:content-type; bh=EYmj0y1ErZOarHl456j/es06mokHs16kCDUUdcoLpp8=; b=ak7Xkf6UlUEqn69NOE6fKPrCUDD05IMKVPs8fi01DsCxSHYXYaWJjz57RIORW7H38p szqovoP6yj72+eoe4bO1LWYEw27rAmiJg9U7tjQl4g+7FjbYEH6ByoAcU0PCzxyL74FH Qei2fZHHk5gJDjOE+BrgJEzWzThDiOCFjE+fNqSF/5eY3BChpJK2Sk4br+BuAjU3HWDw zFOhVu8YxjjBJC3e1jz9ob0dlr6AmGSzXdhjo6LWir+bsviKThx4Ha92gWCWLwznTS7l G39FnnEsrzB7B4k3jE6TqJg+oX95X6yV0wRcCJ0qm+iErvG83kREIthWFTlhHgAcIyV8 Gndg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1791297491; x=1791902291; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:to:subject:user-agent:mime-version:date :message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=EYmj0y1ErZOarHl456j/es06mokHs16kCDUUdcoLpp8=; b=qqx+NPUaT+MHNXm3jtvJK4uRdnG2iez5pvLaLppj+lifSuclAHuiP1dKGoPVCzWE8p x5LmOmfrPCCRuTjh7w2cJx6P9upXz9S8NgobB4ASnQa0kD+OmKbi39koEhdcRiz98/IG Clh2RAum5PPnz8zP8txQq3DTKSjQYDMuXpHjRUhD6+sHGNsJr+EJWHYI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1ZAtrP608 X-Received: by 2002:ac8:7e81:0:b0:535:5f0:8c04 with SMTP id d75a77b69052e-535671d9a7emr24888801cf.56.1791297491281; Tue, 06 Oct 2026 07:38:11 -0700 (PDT) Received: from [192.168.1.109] ([136.61.86.144]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-5339883630csm124910381cf.4.2026.10.06.07.38.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 06 Oct 2026 07:38:10 -0700 (PDT) Message-ID: <91339226-5026-4618-a642-eb2267038f74@gmail.com> Date: Tue, 6 Oct 2026 10:38:10 -0400 Precedence: bulk X-Mailing-List: git@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: ds/trace2-tolerate-failed-timestamp (was Re: What's cooking in git.git (Oct 2026, #02)) To: Junio C Hamano , git@vger.kernel.org References: Content-Language: en-US From: Derrick Stolee In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 10/5/2026 7:27 PM, Junio C Hamano wrote: > * ds/trace2-tolerate-failed-timestamp (2026-08-31) 7 commits > - trace2: remove use of xcalloc() > - trace2: remove use of ALLOC_GROW() > - trace2: remove use of xstrfmt() > - trace2: remove use of ALLOC_ARRAY() > - trace2: remove use of xstrdup() > - trace2: tolerate failed timestamp formatting > - banned-die: create header for banning of functions > > Functions like `xstrfmt()` and `xcalloc()` have been banned from use > in the trace2 API codebase to prevent calls to `die()` which lead to > unwanted process exits and recursion when memory allocation fails. > > Needs review. > source: This can be evicted. It's not delivering much value for the complexity that it adds, and having banned-die.h present in the repo may suggest stronger protections than it really promises. Thanks, -Stolee