mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 18:53:39 +00:00
Record query name when profiling "metadata_decode_entry"
This commit is contained in:
parent
3cfc7fe78e
commit
c9bd9431d0
@ -37,7 +37,7 @@ macro_rules! provide {
|
||||
def_id_arg: ty::query::query_keys::$name<$lt>,
|
||||
) -> ty::query::query_values::$name<$lt> {
|
||||
let _prof_timer =
|
||||
$tcx.prof.generic_activity("metadata_decode_entry");
|
||||
$tcx.prof.generic_activity(concat!("metadata_decode_entry_", stringify!($name)));
|
||||
|
||||
#[allow(unused_variables)]
|
||||
let ($def_id, $other) = def_id_arg.into_args();
|
||||
|
Loading…
Reference in New Issue
Block a user