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 C4EA643BF6; Mon, 26 Feb 2024 21:51:55 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4CA5442E33; Mon, 26 Feb 2024 21:51:55 +0100 (CET) Received: from mail-pg1-f179.google.com (mail-pg1-f179.google.com [209.85.215.179]) by mails.dpdk.org (Postfix) with ESMTP id CCC03402CC for ; Mon, 26 Feb 2024 21:51:53 +0100 (CET) Received: by mail-pg1-f179.google.com with SMTP id 41be03b00d2f7-5d42e7ab8a9so2344374a12.3 for ; Mon, 26 Feb 2024 12:51:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1708980713; x=1709585513; darn=dpdk.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=mvuhf6fSDl2q2u6EHxIikSf0sT0BRFQGs1wIhNmqFs0=; b=HUXhGUQUI+kqqyDnaFXR/IEySCrbB/CRjaBBZQMaSHeSJVbsLTnizas7Nu+WFBsEYj UfqKKqFiHNkju7dAJg4tn458GDm7aiJmbSE8xg3lpf6hAlJBLsxHweNKr21eYqj31ace 5gLEmrOyl78JkxZxoDW9DslPr+9sVUR6qDzeZf9gC5XABY/pD6YqVx6q5gXq8RoHtjI8 R7Sj8BZSJu202UmCRr57dMYNToAutlQ21R88WLHKdvjIcWyw38O5eF7TRqviE+ZLDtUK EhR+ZTgCgCsaBRDsFz6tr/F2W8npj1fKjVFnDK9Gee60uqhO+xeN0XHuxLuP5USBD4OU DHvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708980713; x=1709585513; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=mvuhf6fSDl2q2u6EHxIikSf0sT0BRFQGs1wIhNmqFs0=; b=tXbxK7rayUh83OkalDsKX6XKCWJ0Qe5B4JIzoczMYmeL4pgDyYqDpO8WqqPF2TdUkk ghoBGKIwKGiKHKBv4uVpjqpdEZR+z8PAFYGAljVObBKX7Mi/h+xNpJWqKmdgNX00TUR3 /URtewuzT6JIo5Gk9DWzAT5V7dQDEReWIFveQ6jh/5t91TJFmCEv4VgUcwdwLQDQJjtw XlQSJ3x7IjiDJxNp7xhmea7xpcHLV44Z8vd8ck25AAOtTYSqAmxNYC6vp2cwhgYCjAca VIo0YO7btoEa4yGygTGbX0kkWlH/c2rV6HRJguk3GP7Aw3ZxhMa5aZ+j9oxhqVkCm9mh u+Kw== X-Gm-Message-State: AOJu0Yzg9V5pz1Npmj3wMO09FTKL6a12RLtwdgODrEAMI8ogY6fcVrvg FAFEBOHt12HUpWw6WVNHcgRmNlRoGlz78P2EMUZk1ImCBRWa65JymWrc45GpVPsbuV3wA+rGztl Y X-Google-Smtp-Source: AGHT+IERTVv1u/DZGkiroRM35gm2cHkW8Vgabn6RLUJmNh9cdn+tjiqwVJI1IKiPL/vciM3NihiScA== X-Received: by 2002:a05:6a21:920a:b0:1a0:56c9:60ab with SMTP id tl10-20020a056a21920a00b001a056c960abmr259221pzb.44.1708980712853; Mon, 26 Feb 2024 12:51:52 -0800 (PST) Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id 5-20020a170902ee4500b001db3efca159sm109615plo.132.2024.02.26.12.51.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 12:51:52 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH 0/2] dumpcap,pdump handle cleanup signals Date: Mon, 26 Feb 2024 12:49:47 -0800 Message-ID: <20240226205143.66702-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.43.0 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 The dumpcap and pdump commands need to handle more signals. Stephen Hemminger (2): app/dumpcap: handle SIGTERM and SIGHUP app/pdump: handle SIGTERM and SIGHUP app/dumpcap/main.c | 14 ++++++++++++-- app/pdump/main.c | 21 +++++++++++++++------ 2 files changed, 27 insertions(+), 8 deletions(-) -- 2.43.0