Code Monkey home page Code Monkey logo

Comments (4)

bengaineyarm avatar bengaineyarm commented on July 24, 2024

Hi @haruzheng

Typically, ""Invalid capture, analysis stopped. Reason: Duplicate counter alias(es) :"" happens when you select two or more counters in the capture that have the same combination of "title" and "name" string. For example, under the "Linux" category there is a "Interrupts: IRQ", likewise for most Cortex-XXX CPUs there is also an "Interrupts: IRQ" counter. If you select both, you will get this error, this is a known issue.

regarding your custom events, if they are for a PMU (such as CPU or interconnect) then you should only specify the "event" attribute. If the PMU has an additional Cycle counter that can be selected without being counted towards the counter limit specified by "count=4" then you should give it a counter="our_pmu_ccnt" attribute as well as an event attribute, otherwise it should just have the event attribute.

Regards
Ben

from gator.

haruzheng avatar haruzheng commented on July 24, 2024

Hi @bengaineyarm

In my case are if i has counter attr, i only to get our_pmu_cnt0, no matter if i choose any one from 0 to 3.

So i confusing it.

So you think this not a issue?
Just remove counter attr, it will mapping by event attr? <- I just want to check this.

Thank you.

Haru

from gator.

bengaineyarm avatar bengaineyarm commented on July 24, 2024

That is correct. For PMU's with multiple configurable "slots" in a counter set (in your case count=4, so 4 possible slots), the "counter" is generated dynamically by gatord, you only need to specify the "event" attribute and because the category has a "counter_set" then gatord will create 4 counter slots for you to configure your PMU events to.

from gator.

haruzheng avatar haruzheng commented on July 24, 2024

Thank you.

Right, it is not a problem.

from gator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.