]> git.baikalelectronics.ru Git - kernel.git/commit
perf machine: Simplify accessing the host machine
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 19 Dec 2012 12:04:24 +0000 (09:04 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 24 Jan 2013 19:40:13 +0000 (16:40 -0300)
commit9223b44b3bb6a589c578e2f7bc1e54bd98d28f8f
tree7793918dad08b64157ae66d605a3e5bd2b3abb1f
parent336432561547303db2da02cf3a645e9de539637a
perf machine: Simplify accessing the host machine

It is always there, no sense in calling a function named
"perf_session__find_host_machine".

Also no sense in checking if that function return is NULL, so ditch
needless error handling.

Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-a6a3zx3afbrxo8p2zqm5mxo8@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-kmem.c
tools/perf/builtin-record.c
tools/perf/builtin-top.c
tools/perf/util/session.c
tools/perf/util/session.h