[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-serviceability-dev
Subject: Re: RFR: 8314029: Add file name parameter to Compiler.perfmap [v8]
From: Paul Hohensee <phh () openjdk ! org>
Date: 2023-12-18 21:27:50
Message-ID: eKym4dYf_d_ZQsnRQDdXhGR7HL0DIgCwxEvUBKiVKik=.0d526046-6edf-4dce-b19c-4bcfa28af05e () github ! com
[Download RAW message or body]
On Mon, 11 Dec 2023 22:41:56 GMT, Yi-Fan Tsai <duke@openjdk.org> wrote:
> > `jcmd Compiler.perfmap` uses the hard-coded file name for a perf map: \
> > `/tmp/perf-%d.map`. This change adds an optional argument for specifying a file \
> > name.
> > `jcmd PID help Compiler.perfmap` shows the following usage.
> >
> >
> > Compiler.perfmap
> > Write map file for Linux perf tool.
> >
> > Impact: Low
> >
> > Syntax : Compiler.perfmap [<filename>]
> >
> > Arguments:
> > filename : [optional] Name of the map file (STRING, no default value)
> >
> >
> > The following section of man page is also updated. (`man -l \
> > src/jdk.jcmd/share/man/jcmd.1`)
> >
> > Compiler.perfmap [arguments] (Linux only)
> > Write map file for Linux perf tool.
> >
> > Impact: Low
> >
> > arguments:
> >
> > · filename: (Optional) Name of the map file (STRING, no default value)
> >
> > If filename is not specified, a default file name is chosen using the pid of the \
> > target JVM process. For example, if the pid is 12345, then the default filename \
> > will be /tmp/perf-12345.map.
>
> Yi-Fan Tsai has updated the pull request incrementally with one additional commit \
> since the last revision:
> Update copyright of PerfMapTest
Thanks.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/15871#issuecomment-1861689670
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic