{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/corefx/issues/7480","repository_url":"https://api.github.com/repos/dotnet/corefx","labels_url":"https://api.github.com/repos/dotnet/corefx/issues/7480/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/corefx/issues/7480/comments","events_url":"https://api.github.com/repos/dotnet/corefx/issues/7480/events","html_url":"https://github.com/dotnet/corefx/issues/7480","id":145571627,"number":7480,"title":"System.Diagnostics.TraceSource should not be RID specific","user":{"login":"davidfowl","id":95136,"avatar_url":"https://avatars.githubusercontent.com/u/95136?v=3","gravatar_id":"","url":"https://api.github.com/users/davidfowl","html_url":"https://github.com/davidfowl","followers_url":"https://api.github.com/users/davidfowl/followers","following_url":"https://api.github.com/users/davidfowl/following{/other_user}","gists_url":"https://api.github.com/users/davidfowl/gists{/gist_id}","starred_url":"https://api.github.com/users/davidfowl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidfowl/subscriptions","organizations_url":"https://api.github.com/users/davidfowl/orgs","repos_url":"https://api.github.com/users/davidfowl/repos","events_url":"https://api.github.com/users/davidfowl/events{/privacy}","received_events_url":"https://api.github.com/users/davidfowl/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/corefx/labels/packaging","name":"packaging","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"weshaggard","id":9010698,"avatar_url":"https://avatars.githubusercontent.com/u/9010698?v=3","gravatar_id":"","url":"https://api.github.com/users/weshaggard","html_url":"https://github.com/weshaggard","followers_url":"https://api.github.com/users/weshaggard/followers","following_url":"https://api.github.com/users/weshaggard/following{/other_user}","gists_url":"https://api.github.com/users/weshaggard/gists{/gist_id}","starred_url":"https://api.github.com/users/weshaggard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weshaggard/subscriptions","organizations_url":"https://api.github.com/users/weshaggard/orgs","repos_url":"https://api.github.com/users/weshaggard/repos","events_url":"https://api.github.com/users/weshaggard/events{/privacy}","received_events_url":"https://api.github.com/users/weshaggard/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/dotnet/corefx/milestones/4","html_url":"https://github.com/dotnet/corefx/milestones/1.0.0-rtm","labels_url":"https://api.github.com/repos/dotnet/corefx/milestones/4/labels","id":1248719,"number":4,"title":"1.0.0-rtm","description":"2016 https://github.com/aspnet/Home/wiki/Roadmap","creator":{"login":"joshfree","id":1302850,"avatar_url":"https://avatars.githubusercontent.com/u/1302850?v=3","gravatar_id":"","url":"https://api.github.com/users/joshfree","html_url":"https://github.com/joshfree","followers_url":"https://api.github.com/users/joshfree/followers","following_url":"https://api.github.com/users/joshfree/following{/other_user}","gists_url":"https://api.github.com/users/joshfree/gists{/gist_id}","starred_url":"https://api.github.com/users/joshfree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshfree/subscriptions","organizations_url":"https://api.github.com/users/joshfree/orgs","repos_url":"https://api.github.com/users/joshfree/repos","events_url":"https://api.github.com/users/joshfree/events{/privacy}","received_events_url":"https://api.github.com/users/joshfree/received_events","type":"User","site_admin":false},"open_issues":336,"closed_issues":492,"state":"open","created_at":"2015-08-10T18:04:00Z","updated_at":"2016-04-05T01:56:50Z","due_on":"2016-06-30T07:00:00Z","closed_at":null},"comments":5,"created_at":"2016-04-04T03:09:12Z","updated_at":"2016-04-05T03:01:17Z","closed_at":null,"body":"I don't know the reasoning behind why we chose to compile this thing twice but AFAIK there's a dependency on getting the PID? I'm guess we didn't want to use Process since we're hoping for a more xplat friendly process API. Whatever the reason, runtime light up would be a much better solution here since all of the IL is duplicated in the output of a portable application and the need to cross compile is a very small part of the code.\r\n\r\nhttps://github.com/dotnet/corefx/blob/master/src/System.Diagnostics.TraceSource/src/System/Diagnostics/TraceEventCache.Unix.cs\r\n\r\nhttps://github.com/dotnet/corefx/blob/master/src/System.Diagnostics.TraceSource/src/System/Diagnostics/TraceEventCache.Windows.cs\r\n\r\n/cc @stephentoub @ericstj @weshaggard "},"comment":{"url":"https://api.github.com/repos/dotnet/corefx/issues/comments/205619999","html_url":"https://github.com/dotnet/corefx/issues/7480#issuecomment-205619999","issue_url":"https://api.github.com/repos/dotnet/corefx/issues/7480","id":205619999,"user":{"login":"davidfowl","id":95136,"avatar_url":"https://avatars.githubusercontent.com/u/95136?v=3","gravatar_id":"","url":"https://api.github.com/users/davidfowl","html_url":"https://github.com/davidfowl","followers_url":"https://api.github.com/users/davidfowl/followers","following_url":"https://api.github.com/users/davidfowl/following{/other_user}","gists_url":"https://api.github.com/users/davidfowl/gists{/gist_id}","starred_url":"https://api.github.com/users/davidfowl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidfowl/subscriptions","organizations_url":"https://api.github.com/users/davidfowl/orgs","repos_url":"https://api.github.com/users/davidfowl/repos","events_url":"https://api.github.com/users/davidfowl/events{/privacy}","received_events_url":"https://api.github.com/users/davidfowl/received_events","type":"User","site_admin":false},"created_at":"2016-04-05T03:01:17Z","updated_at":"2016-04-05T03:01:17Z","body":"> @davidfowl out of curiosity why are you using this library it exist primarily as a compat library.\r\n\r\nSeems like we pull it in in Kestrel. I'm going to remove it now 😄 "}}