taucmdr icon indicating copy to clipboard operation
taucmdr copied to clipboard

Chrome tracing

Open devinshende opened this issue 5 years ago • 5 comments

Adds support for json files as output in order to use chrome tracing as a GUI to view the tau trace files.

devinshende avatar Jul 08 '19 17:07 devinshende

Although the tests are passing when run locally, for some reason, on Travis, TAU is failing to build the tau_trace2json tool:

g++   -O2 -g -I../include  -w       -DTAU_GNU -DTAU_DOT_H_LESS_HEADERS -fPIC   tau_trace2json.cpp -c 
g++   -O2 -g -I../include  -w       -DTAU_GNU -DTAU_DOT_H_LESS_HEADERS -fPIC   tau_trace2json.o -o tau_trace2json -lm -L/home/travis/taucmdr-test/system/tau/tau-2.28.1/x86_64/lib -lTAU_traceinput-e1fcdaba 
/usr/bin/ld: cannot find -lTAU_traceinput-e1fcdaba
collect2: error: ld returned 1 exit status
make[1]: *** [tau_trace2json] Error 1

We need to figure out why that's not getting built correctly in Travis.

nchaimov avatar Jul 09 '19 00:07 nchaimov

I wonder if there is a dependency which is installed on the local system that's missing on Travis? I'll try building locally here to see if I can reproduce this.

zbeekman avatar Jul 18 '19 18:07 zbeekman

@nchaimov what should we do with this PR? Should I merge latest unstable and try testing with GitHub actions CI?

zbeekman avatar Sep 15 '20 16:09 zbeekman

Yeah, let's merge unstable into this branch and see if it works. It was failing due to problems building tau_trace2json but I think that was fixed in unstable with issue #342.

nchaimov avatar Sep 16 '20 19:09 nchaimov

Codecov Report

Merging #324 into unstable will decrease coverage by 13.56%. The diff coverage is 43.62%.

Impacted file tree graph

@@              Coverage Diff              @@
##           unstable     #324       +/-   ##
=============================================
- Coverage     66.01%   52.45%   -13.57%     
=============================================
  Files            88       92        +4     
  Lines          7286     8049      +763     
  Branches       1223     1386      +163     
=============================================
- Hits           4810     4222      -588     
- Misses         2048     3406     +1358     
+ Partials        428      421        -7     
Flag Coverage Δ
#CI 52.45% <43.62%> (?)
#unittests 52.45% <43.62%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
packages/taucmdr/cf/__init__.py 100.00% <ø> (ø)
packages/taucmdr/cf/objects.py 100.00% <ø> (ø)
...ckages/taucmdr/cf/software/libotf2_installation.py 87.50% <0.00%> (ø)
packages/taucmdr/cf/software/ompt_installation.py 63.15% <0.00%> (-7.44%) :arrow_down:
packages/taucmdr/cf/software/papi_installation.py 24.75% <0.00%> (-34.66%) :arrow_down:
packages/taucmdr/cf/storage/__init__.py 50.87% <0.00%> (ø)
packages/taucmdr/cf/storage/levels.py 85.00% <ø> (ø)
packages/taucmdr/cli/commands/__main__.py 29.68% <0.00%> (-2.06%) :arrow_down:
...kages/taucmdr/cli/commands/application/__init__.py 100.00% <ø> (ø)
packages/taucmdr/cli/commands/application/edit.py 50.00% <0.00%> (-11.30%) :arrow_down:
... and 117 more

codecov[bot] avatar Sep 17 '20 19:09 codecov[bot]