]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Rollup merge of #68932 - michaelwoerister:self-profile-generic-activity-args, r=wesle...
authorDylan DPC <dylan.dpc@gmail.com>
Mon, 10 Feb 2020 16:28:57 +0000 (17:28 +0100)
committerGitHub <noreply@github.com>
Mon, 10 Feb 2020 16:28:57 +0000 (17:28 +0100)
commit24260e5baec0b1b9f9b6abf4cf4033686034df3f
tree3d97507eef747c9a2291587c659194a6fd02323c
parent531f2351346a7f2c6c9445b7a280a89a60f5c275
parent81dccb1a5c7b67c61cb7eb421150c671d6e1a7de
Rollup merge of #68932 - michaelwoerister:self-profile-generic-activity-args, r=wesleywiser

self-profile: Support arguments for generic_activities.

This PR adds support for recording arguments of "generic activities". The most notable use case is LLVM module names, which should be very interesting for `crox` profiles. In the future it might be interesting to add more fine-grained events for pre-query passes like macro expansion.

I tried to judiciously de-duplicate existing self-profile events with `extra_verbose_generic_activity`, now that the latter also generates self-profile events.

r? @wesleywiser