aboutsummaryrefslogtreecommitdiffstats
path: root/compat/stub/procinfo.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-08-24 15:32:40 -0700
committerJunio C Hamano <gitster@pobox.com>2021-08-24 15:32:40 -0700
commit6f64eeab605b82b187b2dd1fc72492f434bad603 (patch)
tree476d9ccf008ab58bbdd8e479c45df7b4bc23a14c /compat/stub/procinfo.c
parent276bc6357ebe50dae070aff9693a21c4a2bafc28 (diff)
parent2f732bf15e6dc9c2caf210784f180c6c059c570a (diff)
downloadgit-6f64eeab605b82b187b2dd1fc72492f434bad603.tar.gz
Merge branch 'es/trace2-log-parent-process-name'
trace2 logs learned to show parent process name to see in what context Git was invoked. * es/trace2-log-parent-process-name: tr2: log parent process name tr2: make process info collection platform-generic
Diffstat (limited to 'compat/stub/procinfo.c')
-rw-r--r--compat/stub/procinfo.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/compat/stub/procinfo.c b/compat/stub/procinfo.c
new file mode 100644
index 0000000000..12c0a23c9e
--- /dev/null
+++ b/compat/stub/procinfo.c
@@ -0,0 +1,11 @@
+#include "git-compat-util.h"
+
+#include "trace2.h"
+
+/*
+ * Stub. See sample implementations in compat/linux/procinfo.c and
+ * compat/win32/trace2_win32_process_info.c.
+ */
+void trace2_collect_process_info(enum trace2_process_info_reason reason)
+{
+}