Index: base/debug/trace_event_win.h |
diff --git a/base/debug/trace_event_win.h b/base/debug/trace_event_win.h |
index 2a900bb4314f055b67a24bfea4bcdc766a569424..c74c3a721adb22924ecdc8c981f4e8be56482a7d 100644 |
--- a/base/debug/trace_event_win.h |
+++ b/base/debug/trace_event_win.h |
@@ -10,6 +10,7 @@ |
#include "base/base_export.h" |
#include "base/debug/trace_event.h" |
+#include "base/memory/scoped_ptr.h" |
#include "base/win/event_trace_provider.h" |
// Fwd. |
@@ -58,6 +59,19 @@ class BASE_EXPORT TraceEventETWProvider : public base::win::EtwTraceProvider { |
return Trace(name, -1, type, id, extra, -1); |
} |
+ // Allows passing extra as a set of arguments that will be converted to |
+ // a string. |
chrisha
2013/09/05 20:21:30
This is a complicated call. Worth documenting the
fdoray
2013/09/08 18:35:50
Done.
|
+ static void TraceWithArgs( |
+ const char* category_group, |
+ const char* name, |
+ char type, |
+ const void* id, |
+ int num_args, |
+ const char** arg_names, |
+ const unsigned char* arg_types, |
+ const unsigned long long* arg_values, |
+ scoped_ptr<ConvertableToTraceFormat> convertable_values[]); |
+ |
// Retrieves the singleton. |
// Note that this may return NULL post-AtExit processing. |
static TraceEventETWProvider* GetInstance(); |