akry / pprof

profile parallelism of program execution.
0 stars 0 forks source link

create a netlink connection to communicate a user-land daemon #6

Closed akry closed 11 years ago

akry commented 11 years ago

After the following scenario, netlink sockets cannot be created.

  1. Invoke netlink_kernel_create() for the first time (a socket is properly created)
  2. Remove the kernel module
  3. Install the kernel module again
  4. Invoke netlink_kernel_create() again

I suppose a netlink socket is created after the scenario 4, but not.