From: Jiri Olsa <jolsa@kernel.org>
To: Arnaldo Carvalho de Melo <acme@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: [PATCH] btf_encoder: Use better fallback message
Date: Mon, 16 Nov 2020 21:24:58 +0100 [thread overview]
Message-ID: <20201116202458.1228654-1-jolsa@kernel.org> (raw)
Using more suitable fallback message for the case when the
ftrace filter can't be used because of missing symbols.
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
next reply other threads:[~2020-11-16 20:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-16 20:24 Jiri Olsa [this message]
2020-11-17 18:09 ` [PATCH] btf_encoder: Use better fallback message Arnaldo Carvalho de Melo
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=20201116202458.1228654-1-jolsa@kernel.org \
--to=jolsa@kernel.org \
--cc=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=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.