diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2010-07-30 18:28:42 -0300 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2010-07-30 18:28:42 -0300 |
| commit | 591765fdaf7ea1888157f342b67b0461f2e5ed9b (patch) | |
| tree | 278c5c7e219830596b03bc9ca1aa2a38e69e458e /net/unix/af_unix.c | |
| parent | 0e60836bbd392300198c5c2d918c18845428a1fe (diff) | |
perf tools: Release thread resources on PERF_RECORD_EXIT
For long running sessions with many threads with short lifetimes the
amount of memory that the buildid process takes is too much.
Since we don't have hist_entries that may be pointing to them, we can
just release the resources associated with each thread when the exit
(PERF_RECORD_EXIT) event is received.
For normal processing we need to annotate maps with hits, and thus
hist_entries pointing to it and drop the ones that had none. Will be
done in a followup patch.
Cc: David S. Miller <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Tom Zanussi <[email protected]>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions