perf tools: Add clockid_name function
[linux-2.6-microblaze.git] / tools / perf / util / clockid.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2
3 #ifndef __PERF_CLOCKID_H
4 #define __PERF_CLOCKID_H
5
6 struct option;
7 int parse_clockid(const struct option *opt, const char *str, int unset);
8
9 const char *clockid_name(clockid_t clk_id);
10
11 #endif