Skip to content

Commit

Permalink
ieee1394: dump mmapped iso buffers in core files
Browse files Browse the repository at this point in the history
Currently, core files do not contain the mmapped memory of the video1394
or dv1394 devices, which contain the actual video input, making it
impossible to analyse the cause of abnormal program termination for
image analysis or (de)compression software.  Fix that.

Signed-off-by: Philippe De Muyter <phdm@macqel.be>

Also affects users of the rawiso ioctl API of raw1394.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
  • Loading branch information
Philippe De Muyter authored and Stefan Richter committed Jul 14, 2008
1 parent 3aea50a commit 435f972
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ieee1394/dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ int dma_region_mmap(struct dma_region *dma, struct file *file,
vma->vm_ops = &dma_region_vm_ops;
vma->vm_private_data = dma;
vma->vm_file = file;
vma->vm_flags |= VM_RESERVED;
vma->vm_flags |= VM_RESERVED | VM_ALWAYSDUMP;

return 0;
}
Expand Down

0 comments on commit 435f972

Please sign in to comment.