Received: by 2002:a05:7412:2a8a:b0:fc:a2b0:25d7 with SMTP id u10csp332637rdh; Wed, 7 Feb 2024 06:14:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IGkEJcniJgsh/fVLdfNju4nuASX530vBJFd3lSR0oI++8dtebgEPEHvpeT9y+37RXp0ZOfI X-Received: by 2002:a17:902:ecc6:b0:1d6:e9ff:6965 with SMTP id a6-20020a170902ecc600b001d6e9ff6965mr5140490plh.16.1707315241530; Wed, 07 Feb 2024 06:14:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707315241; cv=pass; d=google.com; s=arc-20160816; b=X+V2FMqPJTtJbuRdot6rB6ossnw1vbWNw1wKwAnedeDBwAn6ueEsKYraUe0tBMjGSI T9WpYwAPtCKXgzE8ANJSWwoTPgX7a15NIPn+J/oTIrKpdCIoH0TudmaG4hXPyH/Oebzb Q3sVRBnBeLnqQDXYjfQfXZYS34z6gRYFqVH+RWdU+GubS/RZry61NBhu4sofiQdnFh5N ZpzsoPxrQzkaV53MuU9kXhTZy6MxJl3rHJslIbHe68eCD33auTqzHjUbkm0a5/BRoul+ qftiASfedJiD+WPvvjAc3eVArvdHcD8a+tIbGyYmVmyComRhGnbGgy7uh6QSN5AZCv68 f3+w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=uDMXyMG6j9ONbezTC0mpLsB4ibSrcJDdL0htrYl1dP8=; fh=Qkoqs5yKY1e5OMKIyNpq8jJqovpZALd5z/r1IGEXvGQ=; b=vobIMFpHGBJjCA9z8A5xxh12Him37oPJRrr5ydEvqJ5qCEkltNpIDPqkBXeYrR78ce HW1zgvstBGmfUZrvedBMmHVtmRR+kY91qLC+z5aGlxYAD2GqdqWe1YWnxegVS+JK0DRe oHqXel4FveAp7ybXoz808JxJfUkBjIi+EmW8tubve8lgPUHrsk/J3xl4/qI0VgOM0Fup eK+V0DWxg20vxIhh8lHs02wx2KfYTcLapM0yQqaN3baEXbswnn+R/qKIHs6tEUNBEg1Y 3EfyQet9m1yHdIAk5dFx4ubWKf7AmuVFlEfkX5jR8Mohk20a3VVbmhRkD/hyh2a1Sf84 4Y9Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@joelfernandes.org header.s=google header.b=AEM1TaGG; arc=pass (i=1 spf=pass spfdomain=joelfernandes.org dkim=pass dkdomain=joelfernandes.org); spf=pass (google.com: domain of linux-kernel+bounces-56602-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56602-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCXUF2WWF3v9UT6/brYeQsHVh4GV+sgHLxF9Y3upUz35+RKP2FQ4HW98LoGCI9mL6oUnGG6pV4xpmo0cmk2QH6RN1jGMGjW81NcAnwetbQ== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id m18-20020a170902c45200b001d92e40f68asi1601653plm.69.2024.02.07.06.14.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 06:14:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-56602-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@joelfernandes.org header.s=google header.b=AEM1TaGG; arc=pass (i=1 spf=pass spfdomain=joelfernandes.org dkim=pass dkdomain=joelfernandes.org); spf=pass (google.com: domain of linux-kernel+bounces-56602-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56602-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id A430AB220DA for ; Wed, 7 Feb 2024 14:13:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D1B917C093; Wed, 7 Feb 2024 14:13:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=joelfernandes.org header.i=@joelfernandes.org header.b="AEM1TaGG" Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com [209.85.208.169]) (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 242D57A73C for ; Wed, 7 Feb 2024 14:13:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707315227; cv=none; b=ZSI0+jutlImPmFuQjAK/hDO5LJwA3/07WwknaRopZxwzcBe6gBvePnRj0PTeN8+3d4Hl+lglotxbAZdsPdfGJfDx38kvG9nS+BZghdOLjgXES2+9r/zZHe5qQDn2eWrkD3DylajU4yGBZOitTR1iaXaFP9jV1xIMc7Gp7DXL7jg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707315227; c=relaxed/simple; bh=uDMXyMG6j9ONbezTC0mpLsB4ibSrcJDdL0htrYl1dP8=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=U5EG5TvReagfpKbZ2nIT8RBz7Gyq4SkC8HY89cTipjGcTFL0I4Clg9Hwf2YfZVlh56M0/jhEopxOViMZYAt6dVGY82zCifPWZ1RTQrzgxNe7C/s9NaYPIKRR3v6hMDZ7ypwZ0UdNmsMapmYz+a+4I8hUtELu12Wn15w7EplCi9s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=joelfernandes.org; spf=pass smtp.mailfrom=joelfernandes.org; dkim=pass (1024-bit key) header.d=joelfernandes.org header.i=@joelfernandes.org header.b=AEM1TaGG; arc=none smtp.client-ip=209.85.208.169 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=joelfernandes.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=joelfernandes.org Received: by mail-lj1-f169.google.com with SMTP id 38308e7fff4ca-2d0ce2222a6so2785341fa.3 for ; Wed, 07 Feb 2024 06:13:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joelfernandes.org; s=google; t=1707315223; x=1707920023; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=uDMXyMG6j9ONbezTC0mpLsB4ibSrcJDdL0htrYl1dP8=; b=AEM1TaGGJL4wfEqm+2q9peXuocQIkjrQDjqZWUgmrqbKh2c6echwGBVUOkHYGtL1Jp 02AhZevn+De6PN7zGsB819FgrNnk/pvSqHSCA7PPW//BH4iRu3GtCxMeDnF34BH9WieF R1hLL0ZneyOMPuS0eERh9ZDVSUIzkN/ZJ2rKg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707315223; x=1707920023; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=uDMXyMG6j9ONbezTC0mpLsB4ibSrcJDdL0htrYl1dP8=; b=gf8kxdF8CuD6tHrKD71MfCLr0j0fYKzNGz++3vTS1ZZIba6QUlyE7gQW5qgYcKB+Nn Vg79n15WbNhZ4+bPQMHZ+eTz73r3QzXx47L0DcSTrHWzP7Jq/cJs7ZXXUcepgs48aYo5 maRxafNczOZ0hc8O95edo/zXHHdmck3LhHVuv1cs21TIntfJVRnv6J9iawO8SgrUdOYk dhTew0uaGZBWITnly11XH0a9czgyYdAS9zlo9i9IaIbGCqS3qMDbxiOnQ94eXa5hpRQ0 fM4AtSYgWREXJ1QBtlbccAUjhhJKSELESXC0Foj2m0wiaqQYRtsBOHf5jLTM0iB00pX8 tH+w== X-Gm-Message-State: AOJu0Yyn+FNcVunprkICqU+MeleObu0GHT2ZdRZ2SZiebBP5rJXDrFoG SuALdoJ3uKxXW0zls7iwp9YGqh5PMgeRMs0286qAlIEZ/bVU9OPo5W4493cOV++oDt2guXRwWom f9QPnr/JBtXjLqlUXSMZHijEPQtGlQ3iGUwcJ9A== X-Received: by 2002:a2e:2206:0:b0:2d0:5f90:2b29 with SMTP id i6-20020a2e2206000000b002d05f902b29mr4579555lji.12.1707315222978; Wed, 07 Feb 2024 06:13:42 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240206094650.1696566-1-quic_hyiwei@quicinc.com> <50cdbe95-c14c-49db-86aa-458e87ae9513@joelfernandes.org> <20240207061429.3e29afc8@rorschach.local.home> In-Reply-To: <20240207061429.3e29afc8@rorschach.local.home> From: Joel Fernandes Date: Wed, 7 Feb 2024 09:13:30 -0500 Message-ID: Subject: Re: [PATCH v4] tracing: Support to dump instance traces by ftrace_dump_on_oops To: Steven Rostedt Cc: Huang Yiwei , mhiramat@kernel.org, mark.rutland@arm.com, mcgrof@kernel.org, keescook@chromium.org, j.granados@samsung.com, mathieu.desnoyers@efficios.com, corbet@lwn.net, linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-doc@vger.kernel.org, quic_bjorande@quicinc.com, quic_tsoni@quicinc.com, quic_satyap@quicinc.com, quic_aiquny@quicinc.com, kernel@quicinc.com, Ross Zwisler Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Feb 7, 2024 at 6:14=E2=80=AFAM Steven Rostedt = wrote: > > On Wed, 7 Feb 2024 05:24:58 -0500 > Joel Fernandes wrote: > > > Btw, hopefully the "trace off on warning" and related boot parameters a= lso apply > > to instances, I haven't personally checked but I often couple those wit= h the > > dump-on-oops ones. > > Currently they do not. It would require an updated interface to do so, > as sometimes instances can be used to continue tracing after a warning, > so I don't want to make it for all instances. Thanks for clarifying. > Perhaps we need an option for these too, and have all options be > updated via the command line. That way we don't need to make special > boot line parameters for this. If we move these to options (keeping the > proc interface for backward compatibility) it would make most features > available to all with one change. Agreed, that would be nice!! - Joel