diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2015-03-02 09:59:05 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-03-02 12:48:16 -0300 |
commit | 543d976fa2ebf5543bd07b5d487bf3a6144c0886 (patch) | |
tree | 634bb3deae3e158031a9cf159b73a6efea67c184 /tools/perf/util/thread.h | |
parent | perf probe: Remove bias offset to find probe point by address (diff) | |
download | linux-dev-543d976fa2ebf5543bd07b5d487bf3a6144c0886.tar.xz linux-dev-543d976fa2ebf5543bd07b5d487bf3a6144c0886.zip |
perf tools: Initialize cpu set in pthread_attr_setaffinity_np feature test
Feature tests are compiled but not executed, however it might avoid a
future uninitialized variable warning, so initialize the cpu set.
Reported-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-tip-commits@vger.kernel.org
Link: http://lkml.kernel.org/r/54F41849.1010906@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions