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 1B4E545562; Wed, 3 Jul 2024 17:47:19 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DCED0427B8; Wed, 3 Jul 2024 17:47:18 +0200 (CEST) Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) by mails.dpdk.org (Postfix) with ESMTP id 5FF8040F16 for ; Wed, 3 Jul 2024 17:47:17 +0200 (CEST) Received: by mail-pl1-f177.google.com with SMTP id d9443c01a7336-1fab03d2eecso42748225ad.0 for ; Wed, 03 Jul 2024 08:47:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1720021636; x=1720626436; 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=4afupiKId5rTmPgzg9XRfhVMR0DV1ICBktPRTjTkMto=; b=YRtfjeqYjfsuqU5QcwjI6ESfysFW1YVUGSfVFLTeAuRvvOUqKgE5F+J+R+R9Bl8iVq SLxiNY1/bqppDuD2yYx6R9/+UcpXOGO9UyDmjTVsNoQLPketB2CvsFN4290CIHP44xvG FOPFRrCJm04leBE5RVEhiEV6RWZeJDeuy11lsGJnjfdaOjS1BpFF3EY7plUwHezd+wV5 vX/9wKo5yi+ywy0odQyZngBCF/UBaL8xYEVAhL+XaU8gOAmg44wZTo6Y1CsLpU/cyLia 9nClWHtWaJckMcKM1Hpp8KSA8nTYds/RRdqk8B68QoPrAfcKrU521wn9JZIQ560TPENV PFuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720021636; x=1720626436; 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=4afupiKId5rTmPgzg9XRfhVMR0DV1ICBktPRTjTkMto=; b=SVwonDwb6HVTRmDGp2sSKIMUy2KMfmNJrHSVsEsfW5LOzgZFctqMpnncEACglz6uzp Wbe/LNtfT8x4VriyLYhFVKjGwRd+hoodN8hsqN8oh0dsgg2q68wN270BdANJOsSj3Lsf MsnAlBXn3IdFFUmW2ca2bFS3Nv4t3qUpay6l5OVX/Q2QfbcYxGGNw4BuvnTRSoiAFPVP nDoSTSd5ZOXjLiuMF9rMYbijOwAJrlVx8IpK6lyBftow5mrB9XZVuhZM/6+qoZ8VzzbN zzkT3evWB+0FqNmtqyKb1KlKtRiZKj/ylj+aAzpS9fvUSj6CIJE5gW1/tTVQJUUmSqO/ YL7w== X-Gm-Message-State: AOJu0YxHZh5UFhf1WvsESnR23M9QUG3IUX/+6MFHwmjB2apEek8jMOUY wmNRLHbKvuJKTk4Llm7RKSiBtlLMG1JmDGOzqPulETpvP/VLi11H1RB/408hA+ZQrO+bEfDEHdi 7+Yg= X-Google-Smtp-Source: AGHT+IHT5S13qdqSUmCIzzhoYSPRlWcE6x6/nT+08gC27NYliNGOl/MfcKb7v3Finmv8kQFZxpXIEA== X-Received: by 2002:a17:902:d488:b0:1fa:a68:47a8 with SMTP id d9443c01a7336-1fadbca042dmr115274435ad.28.1720021636506; Wed, 03 Jul 2024 08:47:16 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1fb0bd80588sm24653345ad.7.2024.07.03.08.47.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jul 2024 08:47:16 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v3 0/3] dumpcap and pdump patches for 24.07 Date: Wed, 3 Jul 2024 08:45:42 -0700 Message-ID: <20240703154705.19192-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240529160933.282846-1-stephen@networkplumber.org> References: <20240529160933.282846-1-stephen@networkplumber.org> 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 Fix bug where dumpcap and pdump programs would leave resources if killed with SIGTERM (or if file gets full). Fix bug where dumpcap would always run on CPU 0 only. v3 - combine and rebase these patches Stephen Hemminger (3): app/dumpcap: handle SIGTERM and SIGHUP app/pdump: handle SIGTERM and SIGHUP dumpcap: add lcores option app/dumpcap/main.c | 45 +++++++++++++++++++++++++++++++++++++++++++-- app/pdump/main.c | 21 +++++++++++++++------ 2 files changed, 58 insertions(+), 8 deletions(-) -- 2.43.0