Comments (4)
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.
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.
Hi @cielling. Would you be able to send me a copy of the trace data you are trying to analyze? Thanks!
from hatchet.
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)
- Graph Literal Validator
- Elide collapsed subtrees with triangle icons [Roundtrip] HOT 1
- Pan/Zoom on Trees [Roundrip] HOT 1
- Draw Trees to Utilize more Vertical Space [Roundtrip] HOT 2
- Collapse Trees by Default [Roundtrip]
- Add "inplace" to hatchet operations HOT 1
- Add bivariate color map to roundtrip HOT 1
- Make Roundtrip Javascript Loading More Dynamic / Change Javascript Development Workflow HOT 1
- Add a Reader for ROCProfiler HOT 2
- Hatchet multi-process problem when handling large graphs HOT 8
- build error for Python 3.9 HOT 1
- feature request: subtree aggregate, graphframe subtree HOT 4
- import multiprocess as mp HOT 8
- bug in cprofile reader
- Support for Perfetto Trace Format HOT 1
- Filter/squash error on HPCToolkit database: `AttributeError: 'int' object has no attribute '_hatchet_nid'` HOT 2
- build failure on python 3.11, longintrepr.h not found HOT 2
- Error Reading GProf Profiles HOT 3
- Sphinx Api docs section missing doc for submodules
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hatchet.