aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/os/os_process.h
Commit message (Collapse)AuthorAgeFilesLines
* auxiliary/os: add new os_get_command_line() functionBrian Paul2016-08-011-0/+4
| | | | | | | | | | | This can be used by the driver to get the command line which started the process. Will be used by the VMware driver for extra logging. For now, this is only implemented for Linux via /proc/self/cmdline and Windows via GetCommandLine(). Reviewed-by: Charmaine Lee <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
* os: add os_get_process_name() functionBrian Paul2013-07-121-0/+40
v2: explicitly test for BSD/APPLE, #warning for unexpected environments.