summaryrefslogtreecommitdiff
path: root/debian
AgeCommit message (Expand)AuthorFilesLines
2010-04-12Control updateHEADmasterTobias Klauser2-2/+9
2010-01-17Update changelog date as of building0.42-3Tobias Klauser1-1/+1
2009-10-23Fix stupid typo in watch fileTobias Klauser2-1/+7
2009-10-23lfhex (0.42-2) unstable; urgency=lowTobias Klauser5-7/+20
2009-10-23Add README.sourceTobias Klauser1-0/+29
2009-01-03Change distribution to unstable0.42-1Tobias Klauser1-2/+2
2009-01-03Merge changelog, packaging changesTobias Klauser4-6/+20
2008-10-08Adapt package to new source layout.Tobias Klauser3-8/+17
2008-10-05Call qmake-qt4 instead of qmake (Closes: #500380)Tobias Klauser1-1/+1
2008-09-140.4-30.4-3Tobias Klauser1-2/+3
2008-09-080.4-3 and actually add debian/patches to the repoTobias Klauser4-2/+28
2008-08-30lfhex 0.4-20.4-2Tobias Klauser3-4/+12
2008-07-01Initial importTobias Klauser8-0/+144
mplementation for command-specific processing. The release() implementation does whatever cleanup is needed to release the 'trigger' file, like releasing the parser and trigger iterator, etc. A couple of functions for event command registration and unregistration are added, along with a list to add them to and a mutex to protect them, as well as an (initially empty) registration function to add the set of commands that will be added by future commits, and call to it from the trace event initialization code. also added are a couple trigger-specific data structures needed for these implementations such as a trigger iterator and a struct for trigger-specific data. A couple structs consisting mostly of function meant to be implemented in command-specific ways, event_command and event_trigger_ops, are used by the generic event trigger command implementations. They're being put into trace.h alongside the other trace_event data structures and functions, in the expectation that they'll be needed in several trace_event-related files such as trace_events_trigger.c and trace_events.c. The event_command.func() function is meant to be called by the trigger parsing code in order to add a trigger instance to the corresponding event. It essentially coordinates adding a live trigger instance to the event, and arming the triggering the event. Every event_command func() implementation essentially does the same thing for any command: - choose ops - use the value of param to choose either a number or count version of event_trigger_ops specific to the command - do the register or unregister of those ops - associate a filter, if specified, with the triggering event The reg() and unreg() ops allow command-specific implementations for event_trigger_op registration and unregistration, and the get_trigger_ops() op allows command-specific event_trigger_ops selection to be parameterized. When a trigger instance is added, the reg() op essentially adds that trigger to the triggering event and arms it, while unreg() does the opposite. The set_filter() function is used to associate a filter with the trigger - if the command doesn't specify a set_filter() implementation, the command will ignore filters. Each command has an associated trigger_type, which serves double duty, both as a unique identifier for the command as well as a value that can be used for setting a trigger mode bit during trigger invocation. The signature of func() adds a pointer to the event_command struct, used to invoke those functions, along with a command_data param that can be passed to the reg/unreg functions. This allows func() implementations to use command-specific blobs and supports code re-use. The event_trigger_ops.func() command corrsponds to the trigger 'probe' function that gets called when the triggering event is actually invoked. The other functions are used to list the trigger when needed, along with a couple mundane book-keeping functions. This also moves event_file_data() into trace.h so it can be used outside of trace_events.c. Link: http://lkml.kernel.org/r/316d95061accdee070aac8e5750afba0192fa5b9.1382622043.git.tom.zanussi@linux.intel.com Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Idea-by: Steve Rostedt <rostedt@goodmis.org> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/Makefile')