diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2010-05-09 16:02:23 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2010-05-09 16:10:39 +0000 |
| commit | 28e2a106d16046ca792722795f809e3f80a5af80 (patch) | |
| tree | c84149ddf45d02044187fe4511cead93d009b6ee /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | perf report: Fix leak of resolved callchains array on error path (diff) | |
| download | kernel-28e2a106d16046ca792722795f809e3f80a5af80.tar.gz kernel-28e2a106d16046ca792722795f809e3f80a5af80.zip | |
perf hist: Simplify the insertion of new hist_entry instances
And with that fix at least one bug:
The first hit for an entry, the one that calls malloc to create a new
instance in __perf_session__add_hist_entry, wasn't adding the count to
the per cpumode (PERF_RECORD_MISC_USER, etc) total variable.
Cc: Frédéric Weisbecker <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Tom Zanussi <[email protected]>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
