linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Namhyung Kim <namhyung@kernel.org>
To: Taeung Song <treeze.taeung@gmail.com>
Cc: linux-perf-users@vger.kernel.org
Subject: Re: What is 'web--browse' on builtin-help.c ?
Date: Wed, 2 Dec 2015 14:05:22 +0900	[thread overview]
Message-ID: <20151202050522.GA12758@sejong> (raw)
In-Reply-To: <A0EEEF14-34F9-4D51-BD26-52EA958AD2C2@gmail.com>

Hi Taeung,

On Wed, Dec 02, 2015 at 12:46:40PM +0900, Taeung Song wrote:
> Hi, all
> 
> I’m checking perf-help subcommand and config ‘help.format’.
> source code for them contain functionality for info and web
> but functionality for info and web didn’t work well. ( there isn’t problems about ‘man’ )
> 
> So, I’m trying to fix the bugs.
> There is a function ‘open_html()’ on builtin-help.c as below.
> 
> 408 static void open_html(const char *path)
> 409 {
> 410         execl_perf_cmd("web--browse", "-c", "help.browser", path, NULL);
> 411 }
> 
> excel_perf_cmd() function lastly call execvp(“perf”, (char **)nargv)
> and then error messages like.
> 
> perf: 'web--browse' is not a perf-command.
> 
> Is this leftover from git source code ?

I think so, there's git-web--browse script to find and run available
web browser on a system.

Thanks,
Namhyung

  reply	other threads:[~2015-12-02  5:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-02  3:46 What is 'web--browse' on builtin-help.c ? Taeung Song
2015-12-02  5:05 ` Namhyung Kim [this message]
2015-12-02  5:37   ` Taeung Song

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151202050522.GA12758@sejong \
    --to=namhyung@kernel.org \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=treeze.taeung@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).