[
https://issues.apache.org/jira/browse/HBASE-28242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lars Francke updated HBASE-28242:
---------------------------------
Description:
async-profiler 2.0 has been out since March 2021 now.
This issue/PR is about supporting its new features and removing the 1.x
functionality.
was:
In ProfileServlet we currently force the use of certain events because we use
an enum with allowed values.
async-profiler can support selecting multiple events (comma-separated) and it
supports parameters as well.
Example from the README: {{event=cpu,alloc=2m,lock=10ms}}
We also miss an item {{itimer}} which is suggested if kernel level access to
perf events is not available (e.g. in a container)
I understand that this probably has to do with security because we don't want
to allow users passing in arbitrary things into the command line.
At the very least I'd like to add itimer support but if someone has an idea how
we can (easily and safely) support more events I'm all ears.
> Move ProfileServlet to support async-profiler 2.x only
> ------------------------------------------------------
>
> Key: HBASE-28242
> URL: https://issues.apache.org/jira/browse/HBASE-28242
> Project: HBase
> Issue Type: Improvement
> Reporter: Lars Francke
> Priority: Minor
>
> async-profiler 2.0 has been out since March 2021 now.
> This issue/PR is about supporting its new features and removing the 1.x
> functionality.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)