Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1278305
| From | David Ahern <dsahern@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 2/3] perf callchain: Stop resolving callchains after invalid address |
| Date | 2015-11-26 16:50 +0100 |
| Message-ID | <qz6Y1-76F-3@gated-at.bofh.it> (permalink) |
| References | <qyYQO-1zw-5@gated-at.bofh.it> <qyYQO-1zw-21@gated-at.bofh.it> <qz4CR-5DC-9@gated-at.bofh.it> <qz6lj-6Q1-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 11/26/15 8:00 AM, Namhyung Kim wrote:
> Hi David,
>
> On Thu, Nov 26, 2015 at 06:14:57AM -0700, David Ahern wrote:
>> On 11/26/15 12:08 AM, Namhyung Kim wrote:
>>> @@ -528,11 +529,16 @@ int main(int argc, const char **argv)
>>> {
>>> const char *cmd;
>>> char sbuf[STRERR_BUFSIZE];
>>> + int min_addr;
>>>
>>> /* The page_size is placed in util object. */
>>> page_size = sysconf(_SC_PAGE_SIZE);
>>> cacheline_size = sysconf(_SC_LEVEL1_DCACHE_LINESIZE);
>>>
>>> + if (sysctl__read_int("vm/mmap_min_addr", &min_addr) < 0)
>>
>> This assumes the record and analysis are done on the same system.
>
> Right. Maybe we can just use minimal size (or page size?) or save and
> pass it through somewhere in the feature bit?
no preference, but it should work with cross arch analysis as well
(e.g., record on arm/ppc and analysis on x86)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 1/3] perf top: Fix freeze on --call-graph flat/folded Namhyung Kim <namhyung@kernel.org> - 2015-11-26 08:10 +0100
[PATCH 2/3] perf callchain: Stop resolving callchains after invalid address Namhyung Kim <namhyung@kernel.org> - 2015-11-26 08:10 +0100
Re: [PATCH 2/3] perf callchain: Stop resolving callchains after invalid address Ingo Molnar <mingo@kernel.org> - 2015-11-26 08:50 +0100
Re: [PATCH 2/3] perf callchain: Stop resolving callchains after invalid address Namhyung Kim <namhyung@kernel.org> - 2015-11-26 15:20 +0100
Re: [PATCH 2/3] perf callchain: Stop resolving callchains after invalid address Ingo Molnar <mingo@kernel.org> - 2015-11-27 08:50 +0100
Re: [PATCH 2/3] perf callchain: Stop resolving callchains after invalid address David Ahern <dsahern@gmail.com> - 2015-11-26 14:20 +0100
Re: [PATCH 2/3] perf callchain: Stop resolving callchains after invalid address Namhyung Kim <namhyung@kernel.org> - 2015-11-26 16:10 +0100
Re: [PATCH 2/3] perf callchain: Stop resolving callchains after invalid address David Ahern <dsahern@gmail.com> - 2015-11-26 16:50 +0100
Re: [PATCH 2/3] perf callchain: Stop resolving callchains after invalid address Jiri Olsa <jolsa@redhat.com> - 2015-11-26 17:00 +0100
Re: [PATCH 2/3] perf callchain: Stop resolving callchains after invalid address Arnaldo Carvalho de Melo <acme@kernel.org> - 2015-11-26 17:20 +0100
Re: [PATCH 1/3] perf top: Fix freeze on --call-graph flat/folded Jiri Olsa <jolsa@redhat.com> - 2015-11-26 09:40 +0100
Re: [PATCH 1/3] perf top: Fix freeze on --call-graph flat/folded Namhyung Kim <namhyung@kernel.org> - 2015-11-26 15:00 +0100
Re: [PATCH 1/3] perf top: Fix freeze on --call-graph flat/folded Jiri Olsa <jolsa@redhat.com> - 2015-11-26 15:10 +0100
Re: [PATCH 1/3] perf top: Fix freeze on --call-graph flat/folded Namhyung Kim <namhyung@kernel.org> - 2015-11-26 16:20 +0100
Re: [PATCH 1/3] perf top: Fix freeze on --call-graph flat/folded Jiri Olsa <jolsa@redhat.com> - 2015-11-26 16:30 +0100
Re: [PATCH 1/3] perf top: Fix freeze on --call-graph flat/folded Arnaldo Carvalho de Melo <acme@kernel.org> - 2015-11-26 17:40 +0100
[tip:perf/core] perf top: Fix freeze on --call-graph flat/folded tip-bot for Namhyung Kim <tipbot@zytor.com> - 2015-11-27 08:50 +0100
csiph-web