KEMBAR78
Broken (?) raw pmu support · Issue #734 · async-profiler/async-profiler · GitHub
Skip to content

Broken (?) raw pmu support #734

@RainM

Description

@RainM

Hi!

Just tried raw PMU encoding with async-profiler. Tried different options (see below) but nothing works except 'rXXX' encoding.

# ./profiler.sh  -e pmu/cpu/umask=0x1,event=0xd3/ -d 30  -t  7
[ERROR] Duplicate event argument

# ./profiler.sh  -e pmu/umask=0x1,event=0xd3/ -d 30  -t  7
[ERROR] Duplicate event argument

# ./profiler.sh  -e r1d3 -d 30  -t  7
.....
Works!

looks like a problem here with ',event'. Something treats it as argment (now sure how it works).

So, the question is how to encode raw events from perf-list output to asyn-profiler. Example:

mem_load_uops_l3_hit_retired.xsnp_hitm
        cpu/umask=0x4,(null)=0x4e2b,event=0xd2/  

mem_trans_retired.load_latency_gt_128
        cpu/umask=0x1,(null)=0x3f1,event=0xcd,ldlat=0x80/

How should I encode these events to asyn-profiler? What is '(null)' ? Should I skip this?

--Sergey

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions