diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2011-02-17 12:18:42 -0200 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2011-02-17 13:58:32 -0200 |
| commit | 712a4b6049724278121d56aba683151d86c8c35a (patch) | |
| tree | 4a932fa1d98c83aea123a13ce2d49e5f6627c610 /scripts/patch-kernel | |
| parent | fec9cbd15b9e99bab9bc50f1ed7e20a1087d7c6d (diff) | |
perf record: Delay setting the header writing atexit call
While testing the --filter option I noticed that we were writing lots of
unneeded stuff to the perf.data header when the filter ioctl fails, so
move the atexit(atexit_header) call to after we create the counters
successfully.
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 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions