Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1342064
| From | Jiri Olsa <jolsa@redhat.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 21/48] perf record: Extract synthesize code to record__synthesize() |
| Date | 2016-02-24 15:30 +0100 |
| Message-ID | <r5IBY-5Pl-15@gated-at.bofh.it> (permalink) |
| References | <r4UOR-3pt-3@gated-at.bofh.it> <r4UYz-3uz-39@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, Feb 22, 2016 at 09:10:48AM +0000, Wang Nan wrote:
SNIP
> + err = perf_event__synthesize_auxtrace_info(rec->itr, tool,
> + session, process_synthesized_event);
> + if (err)
> + goto out;
> + }
> +
> + err = perf_event__synthesize_kernel_mmap(tool, process_synthesized_event,
> + machine);
> + if (err < 0 && !warned_kmaps) {
> + warned_kmaps = true;
> + pr_err("Couldn't record kernel reference relocation symbol\n"
> + "Symbol resolution may be skewed if relocation was used (e.g. kexec).\n"
> + "Check /proc/kallsyms permission or run as root.\n");
> + }
> +
> + err = perf_event__synthesize_modules(tool, process_synthesized_event,
> + machine);
> + if (err < 0 && !warned_modules) {
> + warned_modules = true;
could you please add logic for warning just once
into separate patch, so this is just pure move?
also we have WARN_ONCE macro in perf
thanks,
jirka
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH 21/48] perf record: Extract synthesize code to record__synthesize() Jiri Olsa <jolsa@redhat.com> - 2016-02-24 15:30 +0100
csiph-web