lkml.org 
[lkml]   [2022]   [May]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] perf tools: Remove unused machines__find_host()
Em Fri, May 13, 2022 at 11:44:59AM +0300, Adrian Hunter escreveu:
> machines__find_host() does not exist. Remove declaration.

Thanks, applied.

- Arnaldo


> Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
> ---
> tools/perf/util/machine.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/tools/perf/util/machine.h b/tools/perf/util/machine.h
> index 0023165422aa..2b9fb34a38ca 100644
> --- a/tools/perf/util/machine.h
> +++ b/tools/perf/util/machine.h
> @@ -162,7 +162,6 @@ void machines__process_guests(struct machines *machines,
>
> struct machine *machines__add(struct machines *machines, pid_t pid,
> const char *root_dir);
> -struct machine *machines__find_host(struct machines *machines);
> struct machine *machines__find(struct machines *machines, pid_t pid);
> struct machine *machines__findnew(struct machines *machines, pid_t pid);
> struct machine *machines__find_guest(struct machines *machines, pid_t pid);
> --
> 2.25.1

--

- Arnaldo

\
 
 \ /
  Last update: 2022-05-13 16:17    [W:0.081 / U:0.720 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site