diff options
author | Peter Zijlstra <[email protected]> | 2014-05-05 19:12:20 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2014-05-07 11:33:15 +0200 |
commit | ffb4ef21ac4308c2e738e6f83b6741bbc9b4fa3b (patch) | |
tree | 8fac0ed6e911159faa232d149a5d3113a2415ae2 /tools/perf/util/trace-event-scripting.c | |
parent | 46ce0fe97a6be7532ce6126bb26ce89fed81528c (diff) |
perf: Fix perf_event_init_context()
perf_pin_task_context() can return NULL but perf_event_init_context()
assumes it will not, correct this.
Reported-by: Vince Weaver <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions