aboutsummaryrefslogtreecommitdiff
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2012-10-20 13:08:46 -0300
committerArnaldo Carvalho de Melo <[email protected]>2012-10-21 23:07:36 -0200
commitfc551f8d4427150da1ee7cbb0f53525c49ef4bca (patch)
tree87aaf6b20a79fb2b87e5e7bac2f138f9a7738444 /fs/jbd2/commit.c
parent3a531260a14631ae8d231279b8738884bf808e7b (diff)
perf trace: Check if sample raw_data field is set
Sometimes we're segfaulting because we were expecting that the perf_sample.raw_data field was set as requested, but in some cases that needs further investigation, that field can be NULL, leading to segfaults. Make the tool more robust by checking that before calling any per event handlers that may try to use that field. Cc: David Ahern <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Link: http://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions