Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(730)

Unified Diff: components/metrics/call_stack_profile_params.cc

Issue 2362493002: Stack sampling profiler: set process and thread information (Closed)
Patch Set: address comments Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/metrics/call_stack_profile_params.cc
diff --git a/components/metrics/call_stack_profile_params.cc b/components/metrics/call_stack_profile_params.cc
index 71b7aac9265dda4d2c51e174fcf1548b0eb4d234..e937283616c3e4e859e7f2c447c671c3837eab53 100644
--- a/components/metrics/call_stack_profile_params.cc
+++ b/components/metrics/call_stack_profile_params.cc
@@ -7,13 +7,16 @@
namespace metrics {
CallStackProfileParams::CallStackProfileParams()
- : CallStackProfileParams(UNKNOWN) {}
+ : CallStackProfileParams(UNKNOWN_PROCESS, UNKNOWN_THREAD, UNKNOWN) {}
-CallStackProfileParams::CallStackProfileParams(Trigger trigger)
- : CallStackProfileParams(trigger, MAY_SHUFFLE) {}
+CallStackProfileParams::CallStackProfileParams(Process process, Thread thread,
+ Trigger trigger)
+ : CallStackProfileParams(process, thread, trigger, MAY_SHUFFLE) {}
-CallStackProfileParams::CallStackProfileParams(Trigger trigger,
+CallStackProfileParams::CallStackProfileParams(Process process, Thread thread,
+ Trigger trigger,
SampleOrderingSpec ordering_spec)
- : trigger(trigger), ordering_spec(ordering_spec) {}
+ : process(process), thread(thread), trigger(trigger),
+ ordering_spec(ordering_spec) {}
} // namespace metrics
« no previous file with comments | « components/metrics/call_stack_profile_params.h ('k') | components/metrics/child_call_stack_profile_collector_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698