Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

omnitrace-run executable - required for running binary writes #257

Merged
merged 36 commits into from
Mar 15, 2023

Commits on Mar 10, 2023

  1. omnitrace-run exe

    - ensure LD_PRELOAD for libomnitrace-dl.so
    - convert config options into command-line options
    jrmadsen committed Mar 10, 2023
    Configuration menu
    Copy the full SHA
    62616d7 View commit details
    Browse the repository at this point in the history
  2. Update timemory submodule

    - updates to tsettings
    - updates to argparser
    jrmadsen committed Mar 10, 2023
    Configuration menu
    Copy the full SHA
    c2424ac View commit details
    Browse the repository at this point in the history
  3. common environment update

    - throw error if get_env<bool> has empty string
    jrmadsen committed Mar 10, 2023
    Configuration menu
    Copy the full SHA
    01a0bab View commit details
    Browse the repository at this point in the history
  4. config updates

    - minor tweaks to categories of settings
    jrmadsen committed Mar 10, 2023
    Configuration menu
    Copy the full SHA
    5335805 View commit details
    Browse the repository at this point in the history
  5. core lib update

    - add argparse for common handling of argument parsers
    jrmadsen committed Mar 10, 2023
    Configuration menu
    Copy the full SHA
    bf11cd4 View commit details
    Browse the repository at this point in the history
  6. omnitrace-sample update

    - fix handling of --trace-file (OMNITRACE_PERFETTO_FILE)
    jrmadsen committed Mar 10, 2023
    Configuration menu
    Copy the full SHA
    a89cdf0 View commit details
    Browse the repository at this point in the history
  7. omnitrace-run update

    - updated to use omnitrace::argparse functions
    jrmadsen committed Mar 10, 2023
    Configuration menu
    Copy the full SHA
    c5cc1bf View commit details
    Browse the repository at this point in the history
  8. Tests for omnitrace-run

    jrmadsen committed Mar 10, 2023
    Configuration menu
    Copy the full SHA
    670018a View commit details
    Browse the repository at this point in the history
  9. argparse core update

    - remove choices for --cpu-events and --gpu-events
    jrmadsen committed Mar 10, 2023
    Configuration menu
    Copy the full SHA
    05d42c5 View commit details
    Browse the repository at this point in the history
  10. remove some debugging prints

    jrmadsen committed Mar 10, 2023
    Configuration menu
    Copy the full SHA
    4cd38c7 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    822f8a1 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    7809bac View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2023

  1. Update source/lib/core/argparse.cpp

    - fix pedantic warning
    jrmadsen authored Mar 11, 2023
    Configuration menu
    Copy the full SHA
    31b48a5 View commit details
    Browse the repository at this point in the history
  2. Update testing

    - remove testing args that may not be there in some builds
    jrmadsen committed Mar 11, 2023
    Configuration menu
    Copy the full SHA
    246d9ce View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2023

  1. roctracer/pthread_create fix

    - disable roctracer_data when roctracer not enabled
    jrmadsen committed Mar 13, 2023
    Configuration menu
    Copy the full SHA
    22fa8a9 View commit details
    Browse the repository at this point in the history
  2. omnitrace-causal tweak

    jrmadsen committed Mar 13, 2023
    Configuration menu
    Copy the full SHA
    cf4c391 View commit details
    Browse the repository at this point in the history
  3. omnitrace-instrument: module_function tweak

    - allow DEFAULT_MODULE and LIBRARY_MODULE
    jrmadsen committed Mar 13, 2023
    Configuration menu
    Copy the full SHA
    48f6a29 View commit details
    Browse the repository at this point in the history
  4. common environment update

    - support get_env for enums
    jrmadsen committed Mar 13, 2023
    Configuration menu
    Copy the full SHA
    f08af3a View commit details
    Browse the repository at this point in the history
  5. core: config update

    - Add "mode" category to OMNITRACE_MODE
    jrmadsen committed Mar 13, 2023
    Configuration menu
    Copy the full SHA
    a0599b7 View commit details
    Browse the repository at this point in the history
  6. Update timemory submodule

    - remove debug print statement
    jrmadsen committed Mar 13, 2023
    Configuration menu
    Copy the full SHA
    bcc74d1 View commit details
    Browse the repository at this point in the history
  7. omnitrace-sample tweak

    - change var init
    jrmadsen committed Mar 13, 2023
    Configuration menu
    Copy the full SHA
    51f6e7c View commit details
    Browse the repository at this point in the history
  8. omnitrace-run testing update

    - use --help instead of -?
    jrmadsen committed Mar 13, 2023
    Configuration menu
    Copy the full SHA
    fd7f5ed View commit details
    Browse the repository at this point in the history
  9. core: common.hpp

    - tweak header include style
    jrmadsen committed Mar 13, 2023
    Configuration menu
    Copy the full SHA
    71a2e8f View commit details
    Browse the repository at this point in the history
  10. core: argparser update

    - add_ld_preload func
    - launcher and command member variables in parser_data
    - support launcher
    jrmadsen committed Mar 13, 2023
    Configuration menu
    Copy the full SHA
    e851422 View commit details
    Browse the repository at this point in the history
  11. omnitrace-run update

    - clean up and reworked
    jrmadsen committed Mar 13, 2023
    Configuration menu
    Copy the full SHA
    f517eaf View commit details
    Browse the repository at this point in the history
  12. libomnitrace-dl updates

    - require LD_PRELOAD with binary rewrite
    - dl::InstrumentMode
    - dl::get_instrumented()
    - verify_instrumented_preloaded()
    - omnitrace_set_instrumented(int)
    - relocated omnitrace_main from main.c to dl.cpp
    - omnitrace_set_env does not dlopen libomnitrace
    - omnitrace_set_main(func_ptr) [internal API]
    - OMNITRACE_HIDDEN_API -> OMNITRACE_INTERNAL_API
    jrmadsen committed Mar 13, 2023
    Configuration menu
    Copy the full SHA
    e26a09c View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    47c8bbc View commit details
    Browse the repository at this point in the history
  14. omnitrace-instrument updates

    - adhere to LD_PRELOAD requirementsa
    - invoke omnitrace_set_instrumented
    - binary rewrite does not instrument main
    - binary rewrite does not instrument call to omnitrace_init
    - runtime instr does not instrument main
    - runtime instr does not instrument call to omnitrace_init
    jrmadsen committed Mar 13, 2023
    Configuration menu
    Copy the full SHA
    83779bc View commit details
    Browse the repository at this point in the history
  15. Bump to v1.9.0

    - LD_PRELOAD requirement necessitates minor version increment
    jrmadsen committed Mar 13, 2023
    Configuration menu
    Copy the full SHA
    ffbf62c View commit details
    Browse the repository at this point in the history
  16. common: environment

    - fix ambiguous get_env calls
    jrmadsen committed Mar 13, 2023
    Configuration menu
    Copy the full SHA
    c119aaa View commit details
    Browse the repository at this point in the history
  17. omnitrace-instrument update

    - fix issue with temporaries
    jrmadsen committed Mar 13, 2023
    Configuration menu
    Copy the full SHA
    5f9f6b1 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2023

  1. omnitrace-instrument and libomnitrace-dl updates

    - runtime instrumentation does not work if libomnitrace-dl is preloaded
    jrmadsen committed Mar 14, 2023
    Configuration menu
    Copy the full SHA
    6a1af3a View commit details
    Browse the repository at this point in the history
  2. libomnitrace-dl and libpyomnitrace updates

    - define dl::InstrumentMode in dl.hpp
    - handle instrumentation via setprofile libpyomnitrace
      - do not push trace in omnitrace_init
    jrmadsen committed Mar 14, 2023
    Configuration menu
    Copy the full SHA
    e8f521e View commit details
    Browse the repository at this point in the history
  3. omnitrace-instrument and libomnitrace-dl updates

    - move header to dl subdirectory
    - omnitrace::omnitrace-headers include omnitrace-dl folder
    - use InstrumentMode in omnitrace-instrument
    jrmadsen committed Mar 14, 2023
    Configuration menu
    Copy the full SHA
    91fffa9 View commit details
    Browse the repository at this point in the history
  4. Update workflows and scripts

    - Use omnitrace-run on instrumented exes
    jrmadsen committed Mar 14, 2023
    Configuration menu
    Copy the full SHA
    e0c8218 View commit details
    Browse the repository at this point in the history
  5. Update docs

    - add omnitrace-run to examples of running binary rewritten exes
    jrmadsen committed Mar 14, 2023
    Configuration menu
    Copy the full SHA
    9287992 View commit details
    Browse the repository at this point in the history