linux/tools/perf/util/clockid.h
Ian Rogers 623030fd0a perf clockid: Add missing include
clockid_t is declared in time.h but the include is missing. Reordering
header files may result in build breakages. Add the include to avoid
this.

Signed-off-by: Ian Rogers <irogers@google.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
2026-04-02 19:35:16 -07:00

13 lines
250 B
C

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __PERF_CLOCKID_H
#define __PERF_CLOCKID_H
#include <time.h>
struct option;
int parse_clockid(const struct option *opt, const char *str, int unset);
const char *clockid_name(clockid_t clk_id);
#endif