mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 22:37:45 -04:00
Add the clockid_name() function to get the clock name based on its clockid. It will be used in the following changes. Signed-off-by: Jiri Olsa <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Andi Kleen <[email protected]> Cc: David Ahern <[email protected]> Cc: Geneviève Bastien <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Jeremie Galarneau <[email protected]> Cc: Michael Petlan <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Wang Nan <[email protected]> Link: http://lore.kernel.org/lkml/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
12 lines
232 B
C
12 lines
232 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
#ifndef __PERF_CLOCKID_H
|
|
#define __PERF_CLOCKID_H
|
|
|
|
struct option;
|
|
int parse_clockid(const struct option *opt, const char *str, int unset);
|
|
|
|
const char *clockid_name(clockid_t clk_id);
|
|
|
|
#endif
|