From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH v6 4/5] examples/kni: add log msgs to show and clear stats Date: Wed, 24 Oct 2018 13:46:02 -0700 Message-ID: <20181024134602.5511fa0b@xeon-e3> References: <20180911232906.18352-1-dg@adax.com> <20181024202719.24902-1-dg@adax.com> <20181024202719.24902-5-dg@adax.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org, Igor Ryzhov , Ferruh Yigit To: Dan Gora Return-path: Received: from mail-pf1-f195.google.com (mail-pf1-f195.google.com [209.85.210.195]) by dpdk.org (Postfix) with ESMTP id 791854CC5 for ; Wed, 24 Oct 2018 22:46:12 +0200 (CEST) Received: by mail-pf1-f195.google.com with SMTP id j23-v6so3020667pfi.4 for ; Wed, 24 Oct 2018 13:46:12 -0700 (PDT) In-Reply-To: <20181024202719.24902-5-dg@adax.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Wed, 24 Oct 2018 17:27:18 -0300 Dan Gora wrote: > + pid = getpid(); > + RTE_LOG(INFO, APP, "========================\n"); > + RTE_LOG(INFO, APP, "KNI Running\n"); > + RTE_LOG(INFO, APP, "kill -SIGUSR1 %d\n", pid); > + RTE_LOG(INFO, APP, " Show KNI Statistics.\n"); > + RTE_LOG(INFO, APP, "kill -SIGUSR2 %d\n", pid); > + RTE_LOG(INFO, APP, " Zero KNI Statistics.\n"); > + RTE_LOG(INFO, APP, "========================\n"); > + fflush(stdout); > + Thanks for updating the example to cover the new code. This seems like an overly wordy message which should really be in the documentation not a billboard in the code. In my opinion, having verbose messages is unhelpful since it just clutters the experience.