This is an archive of the discontinued LLVM Phabricator instance.

memprof: don't use thread user_id
ClosedPublic

Authored by dvyukov on Nov 15 2021, 10:49 AM.

Details

Summary

memprof does not use user_id for anything,
so don't pass it to ThreadCreate.
Passing a random field of MemprofThread as user_id
does not make much sense anyway.

Depends on D113920.

Diff Detail

Event Timeline

dvyukov requested review of this revision.Nov 15 2021, 10:49 AM
dvyukov created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptNov 15 2021, 10:49 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript
vitalybuka accepted this revision.Nov 16 2021, 6:15 PM
This revision is now accepted and ready to land.Nov 16 2021, 6:15 PM
This revision was automatically updated to reflect the committed changes.