Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp610139pxb; Wed, 27 Jan 2021 16:40:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJxf73cTWnfdCO4mWErlPkI4l9MPErnRUTMDLIwPMEs0koEoobOy4abL4rFrtNVv9GAlLikr X-Received: by 2002:a05:6402:134b:: with SMTP id y11mr11272901edw.88.1611794454605; Wed, 27 Jan 2021 16:40:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611794454; cv=none; d=google.com; s=arc-20160816; b=YV5EttQ2utwRiHzWh4TwgAOSL6N4449M+FYn7Ppj3Yv3JXLgHN10IsMBeACETfM+5H 3MaLx4FPOgtPrcbaD0I21Hf3k3kTn7m1CPPbyr880Y/QrNpFMdwjwOgJF7k11CbQC3an 9QiX9JNOC1XWvLc4xatBbDALooFkqrshZbKs7jTkgIKvlaJjjSXvnoPzCAbUYVSpDFQi /N7LJ+qqduxJ4qRznzPA/oRDSSBPLyyBobiqiiMXRj/320Hr3hxx82a20dHmSxEibKQo u20jufnU24zTjt0TKkttS82EFAyVp9Yvfxb4Y0V+XI9xpZivuVsQPTjujmomPbnKuf4p I1ug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=quFy3TP6PfexKvPdLCvkfsnJJbwk3h8uFwcXYAFmn2w=; b=VuuYwetAttz5iUI+LUdT5G26JWalI9Lwex2jpoLCuC10pfi5CTnZ8oLhnQ5RRjbkPZ sb4zL1yxEK1DRD22qcLJbPArkiz473MeWkvRHLzooE87DD0DIBc6pQSmjPfxPlpr8oRf 3GmXebyrSS3MyxFd6z2eGs6RkUXhPe8wlduWneR3XyE0S5VcZpYTefdTTzCz9nqGkC/B aEiRS+pYmCoi9h6Jk++BhgbhZ6Gsw11Tiayyl3T1IH6mBsVNOdDdpXYG34k99SMtxgst U9mQawhlL3s5On0Ew9EyBCX2jyXRgsYwKQKINfLdCd284RGYJJUUlyurNQBk1t0Fm9n7 lUwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=al2Wgo4n; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i26si1816316edx.182.2021.01.27.16.40.30; Wed, 27 Jan 2021 16:40:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=al2Wgo4n; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236854AbhA0WEx (ORCPT + 99 others); Wed, 27 Jan 2021 17:04:53 -0500 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:28751 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236548AbhA0WDu (ORCPT ); Wed, 27 Jan 2021 17:03:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1611784889; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=quFy3TP6PfexKvPdLCvkfsnJJbwk3h8uFwcXYAFmn2w=; b=al2Wgo4nBAdWL0x+JwO3R8QUeHJbrDAIgiVAJhoe7UnfC5y1HVUXcEgG5blqVyi8Bt0aFn iH5GeuWpydM78/NG5qXwr/bNNTgYCyRofh9QNRXnGE+80VxoMQ2RzBuUjg4vGVmFPX4URi vX6jJlhs2Lzl0ov52mlEDGoFnAN8zis= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-198-rd23hgCSOPexHAKq3Ixqww-1; Wed, 27 Jan 2021 17:01:25 -0500 X-MC-Unique: rd23hgCSOPexHAKq3Ixqww-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 5DF48193578B; Wed, 27 Jan 2021 22:01:23 +0000 (UTC) Received: from krava (unknown [10.40.193.8]) by smtp.corp.redhat.com (Postfix) with SMTP id 71D6817195; Wed, 27 Jan 2021 22:01:20 +0000 (UTC) Date: Wed, 27 Jan 2021 23:01:19 +0100 From: Jiri Olsa To: Namhyung Kim Cc: Jiri Olsa , Arnaldo Carvalho de Melo , lkml , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Michael Petlan , Ian Rogers , Stephane Eranian , Alexei Budankov Subject: Re: [PATCH 07/22] perf daemon: Add daemon command Message-ID: <20210127220119.GA284633@krava> References: <20210102220441.794923-1-jolsa@kernel.org> <20210102220441.794923-8-jolsa@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 27, 2021 at 04:09:18PM +0900, Namhyung Kim wrote: > Hi Jiri, > > On Sun, Jan 3, 2021 at 7:05 AM Jiri Olsa wrote: > > +int cmd_daemon(int argc, const char **argv) > > +{ > > + struct option daemon_options[] = { > > + OPT_INCR('v', "verbose", &verbose, "be more verbose"), > > + OPT_STRING(0, "config", &__daemon.config, > > + "config file", "config file path"), > > + OPT_STRING_OPTARG('x', "field-separator", &__daemon.csv_sep, > > + "field separator", "print counts with custom separator", ":"), > > Oh, I didn't expect it's optional and default to ":" instead of ",". np, I can change the default to ',' jirka > > Thanks, > Namhyung > > > > + OPT_END() > > + }; >