driver/main.c: explicitly include tracepoint.h

this fixes a build problem in the 3.15-rc1 kernel.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
driver: replace uint32_t with u32

u32 is the proper in-kernel type.

I left alone a public header for now, that will have to change later
after the multi-OS bits are removed from it.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
driver: replace int32_t with int

For functions, they should have a 'int' return value, not int32_t, to be
more like "kernel functions".

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
driver: remove trace_enter()

The kernel has a built-in function tracer, use that instead of rolling
your own.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
driver: remove trace_exit()

No one was using it.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
driver: remove dbgprint and OUTPUT_ macros

No one was using them, so remove them.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
driver: use pr_fmt() instead of hand-coding it

No need to put "sysdig-probe: " in all pr_* functions, let the kernel do
it for you and save memory at the same time.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
driver: don't use <asm/> .h files if at all possible.

Use the <linux/> version of atomic.h instead.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Merge pull request #68 from gregkh/kernel_code_style

Number of minor coding style cleanups