linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] perf tools: Remove unused machines__find_host()
@ 2022-05-13  8:44 Adrian Hunter
  2022-05-13 14:16 ` Arnaldo Carvalho de Melo
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Hunter @ 2022-05-13  8:44 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo
  Cc: Jiri Olsa, Namhyung Kim, Ian Rogers, linux-kernel

machines__find_host() does not exist. Remove declaration.

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] perf tools: Remove unused machines__find_host()
  2022-05-13  8:44 [PATCH] perf tools: Remove unused machines__find_host() Adrian Hunter
@ 2022-05-13 14:16 ` Arnaldo Carvalho de Melo
  0 siblings, 0 replies; 2+ messages in thread
From: Arnaldo Carvalho de Melo @ 2022-05-13 14:16 UTC (permalink / raw)
  To: Adrian Hunter; +Cc: Jiri Olsa, Namhyung Kim, Ian Rogers, linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-05-13 14:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-13  8:44 [PATCH] perf tools: Remove unused machines__find_host() Adrian Hunter
2022-05-13 14:16 ` Arnaldo Carvalho de Melo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).