All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnaldo Carvalho de Melo <acme@kernel.org>
To: Jiri Olsa <jolsa@kernel.org>
Cc: dwarves@vger.kernel.org, bpf@vger.kernel.org,
	Alexei Starovoitov <ast@kernel.org>,
	Andrii Nakryiko <andriin@fb.com>, Yonghong Song <yhs@fb.com>,
	Hao Luo <haoluo@google.com>
Subject: Re: [PATCH] btf_encoder: Use better fallback message
Date: Tue, 17 Nov 2020 15:09:43 -0300	[thread overview]
Message-ID: <20201117180943.GW614220@kernel.org> (raw)
In-Reply-To: <20201116202458.1228654-1-jolsa@kernel.org>

Em Mon, Nov 16, 2020 at 09:24:58PM +0100, Jiri Olsa escreveu:
> Using more suitable fallback message for the case when the
> ftrace filter can't be used because of missing symbols.

Thanks, applied.

- Arnaldo

 
> Signed-off-by: Jiri Olsa <jolsa@kernel.org>
> ---
>  btf_encoder.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/btf_encoder.c b/btf_encoder.c
> index 4f856cfd5577..592b31e2cdc9 100644
> --- a/btf_encoder.c
> +++ b/btf_encoder.c
> @@ -510,7 +510,7 @@ static int collect_symbols(struct btf_elf *btfe, bool collect_percpu_vars)
>  			printf("Found %d functions!\n", functions_cnt);
>  	} else {
>  		if (btf_elf__verbose)
> -			printf("vmlinux not detected, falling back to dwarf data\n");
> +			printf("ftrace symbols not detected, falling back to DWARF data\n");
>  		delete_functions();
>  	}
>  
> -- 
> 2.26.2
> 

-- 

- Arnaldo

      reply	other threads:[~2020-11-17 18:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-16 20:24 [PATCH] btf_encoder: Use better fallback message Jiri Olsa
2020-11-17 18:09 ` Arnaldo Carvalho de Melo [this message]

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=20201117180943.GW614220@kernel.org \
    --to=acme@kernel.org \
    --cc=andriin@fb.com \
    --cc=ast@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=dwarves@vger.kernel.org \
    --cc=haoluo@google.com \
    --cc=jolsa@kernel.org \
    --cc=yhs@fb.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.