aboutsummaryrefslogtreecommitdiff
path: root/src/allocator.py
Commit message (Collapse)AuthorAgeFilesLines
* search for alloc_foo in src/allocators/alloc.pyFlorian Fischer2020-01-301-2/+2
|
* use class members like normal peopleFlorian Fischer2019-12-281-12/+11
|
* fix allocator.pyFlorian Fischer2019-12-181-14/+14
| | | | | * Don't override members of subclasses * Fix patching
* fmt allocator.py with yapfFlorian Fischer2019-12-141-18/+30
|
* refactor allocator.pyFlorian Fischer2019-12-141-47/+44
| | | | | | | Use run_cmd instead of subprocess.run. Explicitly declare all known members. Don't rebuild linker cache when building LIBRARY_PATH Use isinstance instead of type()
* improve patch handling in allocator.pyFlorian Fischer2019-10-131-3/+11
| | | | | * patches are only applied if they aren't applied already * patch no uses -p0 so git diff patches must be adjusted
* Add ArchiveArtifactsFlorian Fischer2019-09-221-1/+5
| | | | | | | ArchiveArtifacts check a downloaded archive against a provided checksum. The Archive is downloaded to cache/<name>/<name>.<format>. The only suported format is tar. ArchiveArtifacts can be used as sources of an Allocator.
* fix patchdirartifactFlorian Fischer2019-09-221-2/+3
| | | | | The designated patchdir of an Allocator class is located at src/allocators/<class name>
* add missing patchdirFlorian Fischer2019-09-211-0/+1
|
* replace AllocatorSources with ArtifactsFlorian Fischer2019-09-211-98/+52
|
* improve debug output of Allocator.buildFlorian Fischer2019-09-111-1/+2
|
* make all default allocator targetFlorian Fischer2019-08-281-25/+24
|
* remove debug output from src/allocator.py and add TODOsFlorian Fischer2019-08-281-2/+0
|
* improve src/allocator.py code quality and remove obsolete patch_alloc functionFlorian Fischer2019-08-281-68/+94
|
* move code to collect allocators to src/allocator.pyFlorian Fischer2019-08-271-0/+59
| | | | | The default allocator file at build/allocators/allocators.py is supported again
* don't permanently store substitutionsFlorian Fischer2019-08-251-10/+12
| | | | | this fixes that multiple calls to Allocator.build() lose their {{fmt}} formatting strings.
* use LD_LIBRARY_PATH for glibc instead of calling its loaderFlorian Fischer2019-08-121-2/+4
| | | | | | | | Calling the loader fails on non ELF executables. Exec, formerly run_cmd, now takes two options: -l LD_LIBRARY_PATH, -p LD_PRELOAD. -p sets LD_PRELOAD and -l LD_LIBRARY_PATH before executing the rest of argv. glibc no longer uses cmd_prefix in favor of LD_LIBRARY_PATH.
* make bump pointer allocator available through src.allocators.bumpptrFlorian Fischer2019-08-111-2/+0
|
* fix Allocator.build() if sources are NoneFlorian Fischer2019-08-021-6/+6
|
* add default colors to included allocatorsFlorian Fischer2019-07-011-1/+1
|
* apply some flake8 hintsFlorian Fischer2019-06-191-12/+17
|
* don't hardcode bumpptr colorFlorian Fischer2019-05-211-1/+1
|
* add bumptr allocator implementationFlorian Fischer2019-04-281-3/+7
|
* remove flush from print_*Florian Fischer2019-04-021-3/+3
|
* use timestamps in allocator build systemFlorian Fischer2019-03-061-3/+3
|
* rework rebuild mechanism to use timestamps instead of pickle stringsFlorian Fischer2019-03-051-13/+16
|
* fix subprocess callFlorian Fischer2019-03-051-1/+1
|
* use new verbosity system in allocator.pyFlorian Fischer2019-03-051-51/+66
|
* reset src before new build and compare pickle strings not dataFlorian Fischer2019-02-271-6/+8
|
* detect if build defintion changed but has the same nameFlorian Fischer2019-02-151-14/+16
|
* add allocators build support and two allocator definitionsFlorian Fischer2019-02-091-0/+150
The allocators created by the file allocators/BA_allocators.py are those used in my BA thesis available at: https://muhq.space/ba.html. allocators/no_falsesharing.py builds patched versions of tcmalloc and glibc without any allocator inroduced falsesharing.