Skip to content
This repository has been archived by the owner on Jan 17, 2025. It is now read-only.

Add fuzzy search to wperf list #29

Open
PrzemekWirkus opened this issue Oct 14, 2024 · 0 comments
Open

Add fuzzy search to wperf list #29

PrzemekWirkus opened this issue Oct 14, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@PrzemekWirkus
Copy link
Collaborator

Cloned from: https://linaro.atlassian.net/browse/WPERF-850

This ticket is for compatibility with Linux perf. In Linux perf when you specify e.g. $ perf list ld_spec command will output all matching events and metrics.

See example:

perf list ld_spec
List of pre-defined events (to be used in -e):



core imp def:
  ld_spec
       [Operation speculatively executed, load]
  rc_ld_spec
       [Release consistency operation speculatively executed, Load-Acquire]
  unaligned_ld_spec
       [Unaligned access, read]

We can keep WindowsPerf output format so that we can have JSONoutput for free. Example:

wperf list _ratio
List of supported metrics (to be used in -m)

        Metric                      Events
        ======                      ======
        branch_misprediction_ratio  {br_mis_pred_retired,br_retired}
        dtlb_walk_ratio             {dtlb_walk,l1d_tlb}
        itlb_walk_ratio             {itlb_walk,l1i_tlb}
        l1d_cache_miss_ratio        {l1d_cache,l1d_cache_refill}
        l1d_tlb_miss_ratio          {l1d_tlb,l1d_tlb_refill}
        l1i_cache_miss_ratio        {l1i_cache,l1i_cache_refill}
        l1i_tlb_miss_ratio          {l1i_tlb,l1i_tlb_refill}
        l2_cache_miss_ratio         {l2d_cache,l2d_cache_refill}
        l2_tlb_miss_ratio           {l2d_tlb,l2d_tlb_refill}
        ll_cache_read_hit_ratio     {ll_cache_miss_rd,ll_cache_rd}
        ll_cache_read_miss_ratio    {ll_cache_miss_rd,ll_cache_rd}
@PrzemekWirkus PrzemekWirkus added enhancement New feature or request good first issue Good for newcomers labels Oct 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant