| 1 | /* |
| 2 | * tp.c |
| 3 | * |
| 4 | * Copyright (c) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> |
| 5 | * |
| 6 | * THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED |
| 7 | * OR IMPLIED. ANY USE IS AT YOUR OWN RISK. |
| 8 | * |
| 9 | * Permission is hereby granted to use or copy this program for any |
| 10 | * purpose, provided the above notices are retained on all copies. |
| 11 | * Permission to modify the code and to distribute modified code is |
| 12 | * granted, provided the above notices are retained, and a notice that |
| 13 | * the code was modified is included with the above copyright notice. |
| 14 | */ |
| 15 | |
| 16 | /* |
| 17 | * Defining macro creates the code objects of the traceprobes, only do |
| 18 | * it once per file |
| 19 | */ |
| 20 | #define TRACEPOINT_CREATE_PROBES |
| 21 | /* |
| 22 | * The header containing our TRACEPOINT_EVENTs. |
| 23 | */ |
| 24 | #include "sample_component_provider.h" |