diff options
| author | Rémy Rakic <remy.rakic+github@gmail.com> | 2022-04-01 20:54:12 +0200 |
|---|---|---|
| committer | Rémy Rakic <remy.rakic+github@gmail.com> | 2022-04-07 15:47:20 +0200 |
| commit | 75852696735110cb41903e0699a4fc0e8617fce8 (patch) | |
| tree | 045952f78227ea94d7fd39ffd01ff54fea6136dc /compiler/rustc_codegen_gcc/src | |
| parent | 1c4ae7aa4a3c9f4ffa23a81b83cebbb34f51e7d1 (diff) | |
| download | rust-75852696735110cb41903e0699a4fc0e8617fce8.tar.gz rust-75852696735110cb41903e0699a4fc0e8617fce8.zip | |
add `generic_activity_with_arg_recorder` to the self-profiler
This allows profiling costly arguments to be recorded only when `-Zself-profile-events=args` is on: using a closure that takes an `EventArgRecorder` and call its `record_arg` or `record_args` methods.
Diffstat (limited to 'compiler/rustc_codegen_gcc/src')
0 files changed, 0 insertions, 0 deletions
