diff options
author | Peter Zijlstra <[email protected]> | 2016-02-24 18:45:42 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2016-02-25 08:42:33 +0100 |
commit | a4f4bb6d0c69d0bb573f1d9e6f1b806f9b038b19 (patch) | |
tree | d6f0fb9d98cf14837637b2c3d26d3605944d487e /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 130056275ade730e7a79c110212c8815202773ee (diff) |
perf: Allow perf_release() with !event->ctx
In the err_file: fput(event_file) case, the event will not yet have
been attached to a context. However perf_release() does assume it has
been. Cure this.
Tested-by: Alexander Shishkin <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Alexander Shishkin <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions