fix format string for size_t params

 warning: format ‘%u’ expects argument of type ‘unsigned int’,
  but argument 3 has type ‘size_t’ [-Wformat=]

when printing size_t, one has to use %zu instead of pure %u, as size_t's
size can vary depending on the architecture.

this was only partly fixed in 37be1398520db8d51d3e1b20b0cd21dc70b5cada
Provide a default SYSDIG_VERSION so people can build their own package just by doing "make package"
Merge pull request #62 from evgeni/size_t-format

fix format string for size_t params
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.