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>
allow building with the system LuaJIT instead of the bundled one

now we can build with the LuaJIT of the system by passing
 -DUSE_BUNDLED_LUAJIT=OFF
or even use an own LuaJIT with
 -DUSE_BUNDLED_LUAJIT=OFF -DLUAJIT_PREFIX=/opt/superluajit

for backwards compatibility, build the bundled version by default
fd.name now includes a meaningful value for failed exit events that were supposed to create an FD
changed some constants that were causing compilation conflicts under windows
cleanup
removed an unnecessary assert
Merge pull request #68 from gregkh/kernel_code_style

Number of minor coding style cleanups
Use the right exportable kernel types
Import/typedef in userspace the kernel types for all platforms
driver: ppm_ringbuffer.h: fix up structure types

This fixes the rest of the fields in the exported structure to use the
correct kernel types.
typo
driver: fix up more types

This fixes up the types used in val_to_ring()
driver/ppm_fillers.c: removed unneeded {}

This fixes up all of the:
  WARNING: braces {} are not necessary for single statement blocks
issues in this file.