perf tools: Add a global variable "const char *input_name"