commit | d2f47f3d8ea579e88d6245b00c4671bbd6d9bca7 | [log] [tgz] |
---|---|---|
author | Derek Bruening <bruening@google.com> | Thu Dec 21 17:31:08 2023 |
committer | GitHub <noreply@github.com> | Thu Dec 21 17:31:08 2023 |
tree | 8523e99b3bcd1cd4a68db64f994ae8409ddfe266 | |
parent | 86a4f1bb51ff42652ef60f6413c1a40afe409992 [diff] |
i#5694 core-sharded: Add core-serial support (#6519) Adds a new scheduler option single_lockstep_output which multiplexes the virtual core output streams onto a single global stream. This is simple to implement as the existing scheduler_t::stream_t class already multiplexes inputs onto an output. Hooks up the drcachesim launcher -core_serial option to this new scheduler mode. Updates the schedule_stats, basic_counts, and cache_simulator tools to support core_serial. For cache_simulator, the existing thread-to-core mapping code for round-robin and for -cpu_scheduling is kept for when in thread-sharded mode; in core-sharded mode, the scheduler's cpuid is mapped to a core index. Adds a core_serial test of schedule_stats and basic_counts and a test of cache_simulator using the scheduler's -cpu_schedule_file as-traced mode. Adds some dr$sim unit tests for cpuid to core mapping and error modes. Issue: #5694
DynamoRIO is a runtime code manipulation system that supports code transformations on any part of a program, while it executes. DynamoRIO exports an interface for building dynamic tools for a wide variety of uses: program analysis and understanding, profiling, instrumentation, optimization, translation, etc. Unlike many dynamic tool systems, DynamoRIO is not limited to insertion of callouts/trampolines and allows arbitrary modifications to application instructions via a powerful IA-32/AMD64/ARM/AArch64 instruction manipulation library. DynamoRIO provides efficient, transparent, and comprehensive manipulation of unmodified applications running on stock operating systems (Windows, Linux, or Android) and commodity IA-32, AMD64, ARM, and AArch64 hardware. Mac OSX support is in progress.
DynamoRIO is the basis for some well-known external tools:
Tools built on DynamoRIO and available in the release package include:
DynamoRIO‘s powerful API abstracts away the details of the underlying infrastructure and allows the tool builder to concentrate on analyzing or modifying the application’s runtime code stream. API documentation is included in the release package and can also be browsed online. Slides from our past tutorials are also available.
DynamoRIO is available free of charge as a binary package for both Windows and Linux. DynamoRIO's source code is available primarily under a BSD license.
Use the discussion list to ask questions.
To report a bug, use the issue tracker.
See also the DynamoRIO home page: http://dynamorio.org/