aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/profiling
diff options
context:
space:
mode:
authorGravatar dmaclach <dmaclach@gmail.com>2017-12-05 14:16:20 -0800
committerGravatar GitHub <noreply@github.com>2017-12-05 14:16:20 -0800
commit2422b80a04aa736353ece284ed4a10bad652b413 (patch)
treeb2a2bcb9bbd2a57e8cdecb0ab94626ef3b5499a6 /src/core/lib/profiling
parent71606c8dfd173c2e8e26d422c8e09326382c0f53 (diff)
parent770bf078d517dbaa49eb532bff47566011940375 (diff)
Merge pull request #2 from vjpai/dmac-2-pr
Regen projects and fix more uses of gpr_thd_new
Diffstat (limited to 'src/core/lib/profiling')
-rw-r--r--src/core/lib/profiling/basic_timers.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/lib/profiling/basic_timers.cc b/src/core/lib/profiling/basic_timers.cc
index 3ec6280e6b..8fcb712f6b 100644
--- a/src/core/lib/profiling/basic_timers.cc
+++ b/src/core/lib/profiling/basic_timers.cc
@@ -203,7 +203,8 @@ void gpr_timers_set_log_filename(const char* filename) {
static void init_output() {
gpr_thd_options options = gpr_thd_options_default();
gpr_thd_options_set_joinable(&options);
- GPR_ASSERT(gpr_thd_new(&g_writing_thread, writing_thread, NULL, &options));
+ GPR_ASSERT(gpr_thd_new(&g_writing_thread, "timer_output_thread",
+ writing_thread, NULL, &options));
atexit(finish_writing);
}