util: Introduce "subprogram_name" to identify subprocesses and threads.
[openvswitch] / lib / util.h
index 1bdaeee563ba5a9d0bf2b1275a5e6d63dbdb36e5..dd86de2651741c27222eb995db6e53448ca49ce5 100644 (file)
@@ -62,6 +62,7 @@
 #endif
 
 extern const char *program_name;
+extern const char *subprogram_name;
 
 /* Returns the number of elements in ARRAY. */
 #define ARRAY_SIZE(ARRAY) (sizeof ARRAY / sizeof *ARRAY)