UTRACE_ATTACH_TASK(9) utrace core API UTRACE_ATTACH_TASK(9)NAME
utrace_attach_task - attach new engine, or look up an attached engine
SYNOPSIS
struct utrace_engine * utrace_attach_task(struct task_struct * target, int flags, const struct utrace_engine_ops * ops, void * data);
ARGUMENTS
target
thread to attach to
flags
flag bits combined with OR, see below
ops
callback table for new engine
data
engine private data pointer
DESCRIPTION
The caller must ensure that the target thread does not get freed, i.e. hold a ref or be its parent. It is always safe to call this on
current, or on the child pointer in a report_clone callback. For most other cases, it's easier to use utrace_attach_pid instead.
UTRACE_ATTACH_CREATE
Create a new engine. If UTRACE_ATTACH_CREATE is not specified, you only look up an existing engine already attached to the thread.
UTRACE_ATTACH_EXCLUSIVE
Attempting to attach a second (matching) engine fails with -EEXIST.
UTRACE_ATTACH_MATCH_OPS
Only consider engines matching ops.
UTRACE_ATTACH_MATCH_DATA
Only consider engines matching data.
Calls with neither UTRACE_ATTACH_MATCH_OPS nor UTRACE_ATTACH_MATCH_DATA match the first among any engines attached to target. That means
that UTRACE_ATTACH_EXCLUSIVE in such a call fails with -EEXIST if there are any engines on target at all.
Kernel Hackers Manual 2.6. July 2010 UTRACE_ATTACH_TASK(9)
Check Out this Related Man Page
PLASMAENGINEEXPLOR(1) KDE User's Manual PLASMAENGINEEXPLOR(1)NAME
plasmaengineexplorer - Provides direct access to plasma data engines
SYNOPSIS
plasmaengineexplorer [--height pixels] [--width pixels] [-x pixels] [-y pixels] [--engine name] [--source name] [--interval ms]
plasmaengineexplorer [KDE Generic Options] [Qt Generic Options]
DESCRIPTION
plasmaengineexplorer is a graphical tool allowing developers to test Plasma data engines without writing a Plasma applet.
If no options are given, it will start without any data engine selected. The required data engine can be selected from a drop-down list.
Only installed data engines will be found. kbuildsycoca4 may need to be run for newly-installed data engines to be found.
OPTIONS --height pixels
Sets the height of the window, in pixels.
--width pixels
Sets the width of the window, in pixels.
-x pixels
Sets the x (horizontal) co-ordinate of the top left corner of the window, in pixels.
-y pixels
Sets the y (vertical) co-ordinate of the top left corner of the window, in pixels.
--engine name
Start plasmaengineexplorer with the given data engine selected. name is the internal name of the data engine given by the
X-KDE-PluginInfo-Name key of the desktop file.
--source name
Only valid in conjunction with --engine. Requests a specific source from the data engine when plasmaengineexplorer is started.
--interval time
Sets the default update interval for requested sources to time milliseconds. If not set, the source will update on demand (for some
sources, this will be when new data is available).
If --source is specified, this is the update interval that will be used when requesting that source.
SEE ALSO
More detailed user documentation is available from help:/plasma (either enter this URL into Konqueror, or run khelpcenter help:/plasma).
EXAMPLES
Load the time data engine, showing the local time and updating every second:
plasmaengineexplorer --engine time --source Local --interval 1000
AUTHORS
plasmaengineexplorer was written by Aaron Seigo <aseigo@kde.org>.
K Desktop Environment Jan 2, 2008 PLASMAENGINEEXPLOR(1)
Hi ,
Working on AIX 4.3. An internal error from my apps engine suddenly causes the engine to die. During this time i do notice a core file being dumped in the directory from where I try to re-start my engine.
Q is how does one read this core file, or I should say 'what is this core file'?
thnx (2 Replies)
My website has some weird malware installed in it. When I click on a link from a search engine (google, bing, or even yahoo) my pages get a string of javascript inserted into them. The page can be a simple "Hello World" and it will still inject a line of javascript into the page. Here is a screen... (1 Reply)
Hi,
Greetings.
We need to make a regexp based rule engine.
The rules would be applied to any file specified and the data not matching should be logged.
Would awk be the right scripting language.
Regards,
Dikesh Shah. (2 Replies)