search for: local_file_dump

Displaying 2 results from an estimated 2 matches for "local_file_dump".

2013 Nov 04
17
Fwd: NetBSD xl core-dump not working... Memory fault (core dumped)
...rom /usr/sbin/xl...done. > [New process 1] > Core was generated by `xl''. > Program terminated with signal 11, Segmentation fault. > #0 0x00007f7ff7007b45 in xc_domain_dumpcore_via_callback > (xch=0x7f7ff7b0d800, domid=20, args=0x7f7fffffdae0, > dump_rtn=0x7f7ff700632c<local_file_dump>) > at xc_core.c:860 > 860 xc_core.c: No such file or directory. > in xc_core.c > > > (gdb) backtrace > #0 0x00007f7ff7007b45 in xc_domain_dumpcore_via_callback > (xch=0x7f7ff7b0d800, domid=20, args=0x7f7fffffdae0, > dump_rtn=0x7f7ff700632c<local_...
2006 Sep 18
1
Re: dumpcore changes -- [Xen-changelog] [xen-unstable] In this patch, the xc_domain_dumpcore_via_callback() in xc_core.c of
...; @@ -124,20 +148,14 @@ xc_domain_dumpcore_via_callback(int xc_h > return -1; > } > > -/* Callback args for writing to a local dump file. */ > -struct dump_args { > - int fd; > -}; > - > /* Callback routine for writing to a local dump file. */ > -static int local_file_dump(void *args, char *buffer, unsigned int length) > -{ > - struct dump_args *da = args; > +static int local_file_dump(int fd, char *buffer, unsigned int length) > +{ > int bytes, offset; > > for ( offset = 0; offset < length; offset += bytes ) > { > -...