Repository navigation
Conversation
artifacts
Include libfabric_tracepoints.h and emit send entry/exit events. Update the build script to compile and link the tracepoint implementation with LTTng-UST.
There was a problem hiding this comment.
Thanks @rsc18! as I told you, this is an iterative process. That is how I work with @TApplencourt.
Please, consider the following changes in addition to the ones I pointed out before.
- We should change the name of the backend from
libfabrictoofi. This follows the naming convention in other backends such as Level Zero (ze), OpenMP (omp). This name should be reflected in the libraries you generate, for instance (libfrabicTracer.so->libofiTracer.so), and other parts of the code that use that naming. - We do not need the whole libfabric source code in here. We just need the headers under
/includethey should be located at/backends/ofi/include. This following the structure of other backends. Here, I think we do not need the headers under/include/ofi/windowsbecause we are not supporting windows. - The file called
framework_hook.crenamed it toofi_tracer.cas the naming convention in the other tracers.
So in this PR we should have just the following files:
/backends/ofi/includefor OFI (required) headers/backends/ofi/ofi_tracepoints.hLTTng Tracepoints/backends/ofi/ofi_tracepoints.cLTTng Tracepoints/backends/ofi/ofi_tracer.cwith the hook logic/backends/ofi/tracer_ofi.sh.in/backends/ofi/Makefile.amwith the tracer build logic
With that, we should be able to generate raw traces (iprof --no-analysis ./app); no tally, no timeline. We can work on the tally and timeline in another PR.
If it is usefull for you, you can copy and paste these facts about iprof in your IA.
There was a problem hiding this comment.
This file should not be included
There was a problem hiding this comment.
Removed image folder and in README.md
There was a problem hiding this comment.
We have a testing framework that let us test specific invariants we expect to see in traces generated by this backend. This test has at least three problems: first, it is not minimal, e.i., it is not validating a specific functionality/feature/invariant; second, it is not connected to the testing framework; third, it can not be validated automatically, some body has to check the output.
Please, remove this file, we can work together on the tests once we have our mininal first PR working.
There was a problem hiding this comment.
Sounds good, test folder removed. Will add later once we have minimal first PR working
There was a problem hiding this comment.
We do not need personal or custom instalation scripts. That should live outside THAPI. Please, remove this file.
We recommed you to use the command below to load all thapi build time dependencies whenever you need to compile thapi. This ensure we all use the same build enviroment for our constributions.
source /home/avivasmeza/thapi_env/load_build_modules.shThen you can use the command below in a fresh sesion to load all thapi runtime dependencies.
module use /home/avivasmeza/thapi_env/modules
module load thapi-env/blobThere was a problem hiding this comment.
This makes more sense. Could you please update the permissions on the file?
source /home/avivasmeza/thapi_env/load_build_modules.sh
bash: /home/avivasmeza/thapi_env/load_build_modules.sh: Permission denied
There was a problem hiding this comment.
I did some permissions update, let my know if that work
There was a problem hiding this comment.
Avoid to load personal files, like this one, to the repo...
There was a problem hiding this comment.
Avoid to load personal files, like this one, to the repo...
There was a problem hiding this comment.
Removed .DS_store file and added .DS_Store in .gitignore
There was a problem hiding this comment.
For this PR, we do not need this file. This file is the model.yaml we create from the header to generate the tracepoints. But we are not doing that right now.
There was a problem hiding this comment.
You can delete this file too. We do not need it for now. We will need it when we start with code generation.
There was a problem hiding this comment.
This change is not required yet since we are not using code generation.
| # Trace output | ||
| *.trace | ||
|
|
||
| # Shared libraries, including versioned files | ||
| *.so | ||
| *.so.* | ||
|
|
||
|
|
There was a problem hiding this comment.
We can also skipt this change and be carefull to commit just what is required.
Adding libfabric backend that uses libfabric hook framework.