mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 16:29:59 +00:00
![Jiri Olsa](/assets/img/avatar_default.png)
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 <jolsa@kernel.org> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Geneviève Bastien <gbastien@versatic.net> Cc: Ian Rogers <irogers@google.com> Cc: Jeremie Galarneau <jgalar@efficios.com> Cc: Michael Petlan <mpetlan@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Wang Nan <wangnan0@huawei.com> Link: http://lore.kernel.org/lkml/20200805093444.314999-3-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
11 lines
232 B
C
11 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
|