diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2015-04-07 14:59:50 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-05-08 19:16:23 +0000 |
| commit | e1ed3a5b87ed6759e16ec93f16aae83d2cc77ca2 (patch) | |
| tree | 5eb80c8b87ad735bca3f9ce50751da06f8b63f1e /tools/perf/builtin-script.c | |
| parent | tools include: Add basic atomic.h implementation from the kernel sources (diff) | |
| download | kernel-e1ed3a5b87ed6759e16ec93f16aae83d2cc77ca2.tar.gz kernel-e1ed3a5b87ed6759e16ec93f16aae83d2cc77ca2.zip | |
perf tools: Use atomic_t to implement thread__{get,put} refcnt
Fixing bugs in 'perf top' where the used thread unsafe 'struct thread'
refcount implementation was falling apart because we really use two
threads.
Acked-by: David Ahern <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Don Zickus <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions
