diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-09-14 22:16:34 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-09-18 15:40:19 +0300 |
commit | 75e45e432052c7b1a5da866cff88192db8be1445 (patch) | |
tree | 73a3a70398c297668307c1ff8b664f2333f7d024 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 91e467bc568f15da2eac688e131010601e889184 (diff) | |
download | linux-75e45e432052c7b1a5da866cff88192db8be1445.tar.xz |
perf machine: Optimize a bit the machine__findnew_thread() methods
In some cases we already have calculated the hash bucket, so reuse it.
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Kan Liang <kan.liang@intel.com>
Cc: Lukasz Odzioba <lukasz.odzioba@intel.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-800zehjsyy03er4s4jf0e99v@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions