@@ -313,12 +313,6 @@ static const char* k_traceClockPath =
313313static const char * k_traceBufferSizePath =
314314 " buffer_size_kb" ;
315315
316- #if 0
317- // TODO: Re-enable after stabilization
318- static const char* k_traceCmdlineSizePath =
319- "saved_cmdlines_size";
320- #endif
321-
322316static const char * k_tracingOverwriteEnablePath =
323317 " options/overwrite" ;
324318
@@ -545,18 +539,6 @@ static bool setTraceBufferSizeKB(int size)
545539 return writeStr (k_traceBufferSizePath, str);
546540}
547541
548- #if 0
549- // TODO: Re-enable after stabilization
550- // Set the default size of cmdline hashtable
551- static bool setCmdlineSize()
552- {
553- if (fileExists(k_traceCmdlineSizePath)) {
554- return writeStr(k_traceCmdlineSizePath, "8192");
555- }
556- return true;
557- }
558- #endif
559-
560542// Set the clock to the best available option while tracing. Use 'boot' if it's
561543// available; otherwise, use 'mono'. If neither are available use 'global'.
562544// Any write to the trace_clock sysfs file will reset the buffer, so only
@@ -870,8 +852,6 @@ static bool setUpKernelTracing()
870852 ok &= setCategoriesEnableFromFile (g_categoriesFile);
871853 ok &= setTraceOverwriteEnable (g_traceOverwrite);
872854 ok &= setTraceBufferSizeKB (g_traceBufferSizeKB);
873- // TODO: Re-enable after stabilization
874- // ok &= setCmdlineSize();
875855 ok &= setClock ();
876856 ok &= setPrintTgidEnableIfPresent (true );
877857 ok &= setKernelTraceFuncs (g_kernelTraceFuncs);
0 commit comments