On Fri, Jul 31, 2020 at 08:33:37AM -0700, Andi Kleen wrote:
> > diff --git a/tools/perf/util/util.h b/tools/perf/util/util.h
> > index f486fdd3a538..126dad238ee3 100644
> > --- a/tools/perf/util/util.h
> > +++ b/tools/perf/util/util.h
> > @@ -62,4 +62,6 @@ char *perf_exe(char *buf, int len);
> > #
> diff --git a/tools/perf/util/util.h b/tools/perf/util/util.h
> index f486fdd3a538..126dad238ee3 100644
> --- a/tools/perf/util/util.h
> +++ b/tools/perf/util/util.h
> @@ -62,4 +62,6 @@ char *perf_exe(char *buf, int len);
> #endif
> #endif
>
> +const char *clockid_name(clockid_t clk_id);
If i
Adding clockid_name function to get the clock name based
on its clockid. It will be used in following changes.
Signed-off-by: Jiri Olsa
---
tools/perf/builtin-record.c | 11 +++
tools/perf/util/util.h | 2 ++
2 files changed, 13 insertions(+)
diff --git a/tools/perf/builtin-record
3 matches
Mail list logo