From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7C32A45BD8; Fri, 25 Oct 2024 22:26:38 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1D1D840264; Fri, 25 Oct 2024 22:26:38 +0200 (CEST) Received: from mail-lf1-f43.google.com (mail-lf1-f43.google.com [209.85.167.43]) by mails.dpdk.org (Postfix) with ESMTP id 4D16C4021F for ; Fri, 25 Oct 2024 22:26:36 +0200 (CEST) Received: by mail-lf1-f43.google.com with SMTP id 2adb3069b0e04-539e3f35268so3221487e87.3 for ; Fri, 25 Oct 2024 13:26:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729887995; x=1730492795; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=eGhXykA8Y2+QNo1MUcyEvtITmCC2TVVAF5KGcB1pmR4=; b=OO+HGGmXCCo8iu81uzWMSoA3TWZDsKq5BltwlJbFnW7rCVs/hYtBNozf1PBLXcnv96 aUXzC2nZ4GooV39oU0EourW3YXg9oMG0rilyY3QFAK3hPSb57C2VUXKVE3Qs8euYXCla JX7W08h69Fdz/7/T7m42XbhcHlDn9+T5mueaALcMMw2P3y6DwgqWdwXJbjNx0U8wr5gf yEzLQlIZ+5cNG5lx7VGI0CQ/FBv15JupY2EPEQLEj+giJvpXJLMuIst3HwYTbRbFtM0H /kN3w5xCA9dBfOCSGPbCD3kNpgMLB54on2jU13IqC7ApxlvGT6R4iDWVlH3WpVbS4eNs E4gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729887995; x=1730492795; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=eGhXykA8Y2+QNo1MUcyEvtITmCC2TVVAF5KGcB1pmR4=; b=Ft2fRGGuUQa8gIavgLYb5OJogMbmrOfjK7fb1ynqmwtPHTuwZiOnI98KhW4kxuPQ29 Xo6VdP98NG2hpMMszjixYJ9MGyG9ShgXWePMI3tRJIzKtKU7nEild8ZBxdyPpTzTWC2Q j5OaE+fJPmc3RraNkbRGmX4Qti6GazmqFkgogrPfd9yF8uQEJtLV602SowmgCQ77ejv9 blNoWXy0Dsb5d8RVSTyXr0FDQic37NN6X093SjIuBo/i0JrC3oszgKY8nul8tICyMSrq sK64QAlXCQ4d3kRV613NuUNJ2Qt74dmqL0MtKYYpPByFbHKVYw03Jd99WkHhcdugA85o ng3g== X-Gm-Message-State: AOJu0YznxU9stDi+RlNVj7qX6ReWaGl2JpvuMG1FReC06HgC8IEHSsFr H5Xf/HAYI3n8xBH8VpMV8ow9nXq+0vDOsgB1TDvoX/3P/CEEMQmUXShpUsle X-Google-Smtp-Source: AGHT+IFS5jjS8JgVQ2bnEyeu445J4OkQqBRXUuEwW1P54Mi7HRx/3mk+61E5kywpaUOBxMd5ejSevg== X-Received: by 2002:a2e:709:0:b0:2fb:4b40:1e15 with SMTP id 38308e7fff4ca-2fcbe0a31cbmr2324661fa.41.1729887994800; Fri, 25 Oct 2024 13:26:34 -0700 (PDT) Received: from sovereign.. (broadband-109-173-43-194.ip.moscow.rt.ru. [109.173.43.194]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-2fcb453e341sm3101941fa.55.2024.10.25.13.26.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Oct 2024 13:26:33 -0700 (PDT) From: Dmitry Kozlyuk To: dev@dpdk.org Cc: Anatoly Burakov , Lewis Donzis , Dmitry Kozlyuk Subject: [PATCH v2 0/2] Hugepage inclusion in core dump Date: Fri, 25 Oct 2024 23:26:13 +0300 Message-Id: <20241025202615.2581513-1-dmitry.kozliuk@gmail.com> X-Mailer: git-send-email 2.38.4 In-Reply-To: <20241023231859.1323727-1-kozlyuk@bifit.com> References: <20241023231859.1323727-1-kozlyuk@bifit.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org From: Dmitry Kozlyuk Hugepages often contain information useful for debugging and thus desired for inclusion in core dumps. However, including them has implications and drawbacks, so it must be an opt-in at user's discretion. This patchset add the ability to do so for FreeBSD and for Linux it just documents existing settings. v2: * Make it work for FreeBSD (thanks Lewis for testing). * Drop all EAL code, document required user actions. Dmitry Kozlyuk (2): contigmem: support including mapped buffers in core dump doc: add instruction for including hugepages in core dump doc/guides/freebsd_gsg/build_dpdk.rst | 26 ++++++++++++++++------ doc/guides/linux_gsg/build_sample_apps.rst | 17 ++++++++++++++ kernel/freebsd/contigmem/contigmem.c | 8 +++++++ 3 files changed, 44 insertions(+), 7 deletions(-) -- 2.38.4