summaryrefslogtreecommitdiff
path: root/pager.c
diff options
context:
space:
mode:
authorLibravatar Jeff Hostetler <jeffhost@microsoft.com>2019-02-22 14:25:04 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-02-22 15:27:59 -0800
commiteee73d1dceb307a543de5b8645827033451ab3bc (patch)
treeba140be4270c619a966421d34e00ebc876826356 /pager.c
parenttrace2:data: add trace2 regions to wt-status (diff)
downloadtgif-eee73d1dceb307a543de5b8645827033451ab3bc.tar.xz
trace2:data: add editor/pager child classification
Add trace2 process classification for editor and pager child processes. Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pager.c')
-rw-r--r--pager.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pager.c b/pager.c
index a768797fcf..4168460ae9 100644
--- a/pager.c
+++ b/pager.c
@@ -100,6 +100,7 @@ void prepare_pager_args(struct child_process *pager_process, const char *pager)
argv_array_push(&pager_process->args, pager);
pager_process->use_shell = 1;
setup_pager_env(&pager_process->env_array);
+ pager_process->trace2_child_class = "pager";
}
void setup_pager(void)