From owner-svn-src-head@freebsd.org Sun Nov 12 10:22:00 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D768CE6E717; Sun, 12 Nov 2017 10:22:00 +0000 (UTC) (envelope-from agapon@gmail.com) Received: from mail-lf0-f66.google.com (mail-lf0-f66.google.com [209.85.215.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 685FE3DAF; Sun, 12 Nov 2017 10:21:59 +0000 (UTC) (envelope-from agapon@gmail.com) Received: by mail-lf0-f66.google.com with SMTP id o66so7092570lfg.0; Sun, 12 Nov 2017 02:21:59 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=2uJ+/BdghWB3k3EZDiZNZQyEG6tb9CHsi+maMhf5cuQ=; b=Q8NigiipcWCbr+jYbPNl7xmI/XxL5RRic1m903RDUdB3FMeYAa6u2SawkRqXQcgVSY HlyrvOC37PIkGSFx49Ddpg9ZzuOpU8xjA1crF523SS6eE0eyZQm/PBazLUQQEcwkGmuW IgB+0iEO08o2UUgheYdxWqyIn19uXEV8God3wl0idtdbJLIdYNVZqYS6Q+f2z6geLAd0 DloVyUvqSuppNEz/NtcrXWqdPRby4Tt3l5FIjNXSozfIRasPll+1HGPDTcFzizkuaigu ff1mcPHthQelVaetYQt3zFGJwKcglF04bIyeuYjhoFvUkmOZan7z/NssTk997cxfaBed BrEg== X-Gm-Message-State: AJaThX4rTRU0+cP/iIgiNn9daV80LF6LKQl37AtsQMmADWu35pJ1MfAp 0hLmlFRe7Qox+7UzFU8+bQ6oN/4h X-Google-Smtp-Source: AGs4zMYZOY4A4K7cygm0b5LLsk4iLF3WeQAzIRgCEldWWeWmQ+l5tBT8xNdAPxyzwcJksu/aV2fTMg== X-Received: by 10.25.199.201 with SMTP id x192mr1774297lff.199.1510481738410; Sun, 12 Nov 2017 02:15:38 -0800 (PST) Received: from [192.168.0.88] (east.meadow.volia.net. [93.72.151.96]) by smtp.googlemail.com with ESMTPSA id r125sm2386730lfr.46.2017.11.12.02.15.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 12 Nov 2017 02:15:37 -0800 (PST) Subject: Re: svn commit: r324619 - in head/usr.bin/procstat: . tests To: Brooks Davis , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org References: <201710141838.v9EIcaOQ047300@repo.freebsd.org> From: Andriy Gapon Message-ID: <81c30f82-268e-ce59-4326-5a2f14ca62e5@FreeBSD.org> Date: Sun, 12 Nov 2017 12:15:35 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <201710141838.v9EIcaOQ047300@repo.freebsd.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Nov 2017 10:22:00 -0000 On 14/10/2017 21:38, Brooks Davis wrote: > Author: brooks > Date: Sat Oct 14 18:38:36 2017 > New Revision: 324619 > URL: https://svnweb.freebsd.org/changeset/base/324619 > > Log: > Switch procstat from subcommand flags to verbs > > - Use an enumerated value instead of separate flags for commands > - Look for a verb if no command flag is set > - Lookup the "xocontainer" value based on the command > - Document the new command verbs in the man-page > > Submitted by: kdrakehp@zoho.com > Differential Revision: https://reviews.freebsd.org/D10916 What's the new way of doing procstat -kk -a ? procstat -kk -a now crashes because cmd is NULL when 'k' option is processed. procstat kstack and procstat kstack -v just produce the usage message without telling any specific usage error. procstat kstack -a says that 'a' is an illegal option. -- Andriy Gapon