Git Product home page Git Product logo

Comments (4)

slabasan avatar slabasan commented on September 22, 2024

Hi @cielling, At this time, Hatchet's caliper reader only supports loading caliper profiles, not traces. To generate profiles for Hatchet, you can use caliper's built-in profiling configurations hatchet-region-profile and hatchet-sample-profile. The error you're seeing when loading in a trace is because Hatchet's reader is looking for a path or source.function#callpath.address column. We're also working on a docs page to provide more details into how to generate caliper, HPCToolkit, etc. datasets for Hatchet. Hope this helps, please let us know if we can answer additional questions about generating caliper data for hatchet.

from hatchet.

cielling avatar cielling commented on September 22, 2024

Hi @slabasan, thanks for the reply! This is good to know, although not quite the answer I was hoping for :) I'm looking forward to that docs page, so far the things I've tried that were documented (e.g. the hatchet-region-profile) work quite nicely!
I'm going to see if I can find some other way to analyze my trace data, there is probably some tool out there that can help me.
Thanks!

from hatchet.

bhatele avatar bhatele commented on September 22, 2024

Hi @cielling. Would you be able to send me a copy of the trace data you are trying to analyze? Thanks!

from hatchet.

daboehme avatar daboehme commented on September 22, 2024

Hi @cielling ,

It's a bit late, but for reference, to convert a Caliper trace into a profile that Hatchet can read you'll have to aggregate it over the region hierarchy, like so:

cali-query -q "select *,sum(time.duration) as time group by prop:nested format json-split" <file(s).cali>

The sum function aggregates time, and group by prop:nested groups by any Caliper region attribute ("annotation", "function", and so on). That'll produce the "path" column Hatchet is looking for.

from hatchet.

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.