util/u_process: remove util_get_process_name_may_override()
Also deprecate GALLIUM_PROCESSS_NAME in favor of MESA_PROCESS_NAME, while maintaining existing functionality for use cases relying on GALLIUM_PROCESSS_NAME. GALLIUM_PROCESSS_NAME takes higher precedence over MESA_PROCESS_NAME in the case where both are set. Signed-off-by: Ryan Neph <ryanneph@google.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20779>
This commit is contained in:
@@ -41,16 +41,6 @@ util_get_process_name(void);
|
||||
size_t
|
||||
util_get_process_exec_path(char* process_path, size_t len);
|
||||
|
||||
/**
|
||||
* Return the name of the current process.
|
||||
* \param env_name the environment variable name used to override
|
||||
* \param procname returns the process name
|
||||
* \param size size of the procname buffer
|
||||
* \return true or false for success, failure
|
||||
*/
|
||||
bool
|
||||
util_get_process_name_may_override(const char *env_name, char *procname, size_t size);
|
||||
|
||||
/**
|
||||
* Return the command line for the calling process. This is basically
|
||||
* the argv[] array with the arguments separated by spaces.
|
||||
|
||||
Reference in New Issue
Block a user