Commit f9655200 authored by Adrian Hunter's avatar Adrian Hunter Committed by Arnaldo Carvalho de Melo

perf probe: Increase debug level of SDT debug messages

Two SDT debug messages can occur for every DSO which is too noisy.
Consequently, increase debug level of SDT messages.
Signed-off-by: default avatarAdrian Hunter <adrian.hunter@intel.com>
Acked-by: default avatarMasami Hiramatsu <mhiramat@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
Link: http://lkml.kernel.org/r/1474641528-18776-9-git-send-email-adrian.hunter@intel.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 1b36c03e
...@@ -620,7 +620,7 @@ static int build_id_cache__add_sdt_cache(const char *sbuild_id, ...@@ -620,7 +620,7 @@ static int build_id_cache__add_sdt_cache(const char *sbuild_id,
ret = probe_cache__scan_sdt(cache, realname); ret = probe_cache__scan_sdt(cache, realname);
if (ret >= 0) { if (ret >= 0) {
pr_debug("Found %d SDTs in %s\n", ret, realname); pr_debug4("Found %d SDTs in %s\n", ret, realname);
if (probe_cache__commit(cache) < 0) if (probe_cache__commit(cache) < 0)
ret = -1; ret = -1;
} }
...@@ -691,7 +691,7 @@ int build_id_cache__add_s(const char *sbuild_id, const char *name, ...@@ -691,7 +691,7 @@ int build_id_cache__add_s(const char *sbuild_id, const char *name,
/* Update SDT cache : error is just warned */ /* Update SDT cache : error is just warned */
if (build_id_cache__add_sdt_cache(sbuild_id, realname) < 0) if (build_id_cache__add_sdt_cache(sbuild_id, realname) < 0)
pr_debug("Failed to update/scan SDT cache for %s\n", realname); pr_debug4("Failed to update/scan SDT cache for %s\n", realname);
out_free: out_free:
if (!is_kallsyms) if (!is_kallsyms)
......
...@@ -699,7 +699,7 @@ int probe_cache__scan_sdt(struct probe_cache *pcache, const char *pathname) ...@@ -699,7 +699,7 @@ int probe_cache__scan_sdt(struct probe_cache *pcache, const char *pathname)
INIT_LIST_HEAD(&sdtlist); INIT_LIST_HEAD(&sdtlist);
ret = get_sdt_note_list(&sdtlist, pathname); ret = get_sdt_note_list(&sdtlist, pathname);
if (ret < 0) { if (ret < 0) {
pr_debug("Failed to get sdt note: %d\n", ret); pr_debug4("Failed to get sdt note: %d\n", ret);
return ret; return ret;
} }
list_for_each_entry(note, &sdtlist, note_list) { list_for_each_entry(note, &sdtlist, note_list) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment