UTRACE_SET_EVENTS - Online Linux Manual PageSection : 9
Updated : June 2018
Source : Kernel Hackers Manual 2.6.
Note : utrace core API
NAMEutrace_set_events − choose which event reports a tracing engine gets
SYNOPSISint utrace_set_events(struct task_struct * target, struct utrace_engine * engine, unsigned long events);
ARGUMENTStarget thread to affect engine attached engine to affect events new event mask
DESCRIPTIONThis changes the set of events for which engine wants callbacks made. This fails with −EALREADY and does nothing if you try to clear UTRACE_EVENT(DEATH) when the report_death callback may already have begun, if you try to clear UTRACE_EVENT(REAP) when the report_reap callback may already have begun, or if you try to newly set UTRACE_EVENT(DEATH) or UTRACE_EVENT(QUIESCE) when target is already dead or dying. This can fail with −ESRCH when target has already been detached, including forcible detach on reaping. If target was stopped before the call, then after a successful call, no event callbacks not requested in events will be made; if UTRACE_EVENT(QUIESCE) is included in events, then a report_quiesce callback will be made when target resumes. If target was not stopped and events excludes some bits that were set before, this can return −EINPROGRESS to indicate that target may have been making some callback to engine. When this returns zero, you can be sure that no event callbacks you´ve disabled in events can be made. If events only sets new bits that were not set before on engine, then −EINPROGRESS will never be returned. To synchronize after an −EINPROGRESS return, see utrace_barrier. When target is current, −EINPROGRESS is not returned. But note that a newly−created engine will not receive any callbacks related to an event notification already in progress. This call enables events callbacks to be made as soon as engine becomes eligible for any callbacks, see utrace_attach_task. These rules provide for coherent synchronization based on UTRACE_STOP, even when SIGKILL is breaking its normal simple rules. 0
Johanes Gumabo
Data Size : 9,493 byte
man-utrace_set_events.9Build : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 3 / 174,074
Visitor ID : :
Visitor IP : 3.145.202.60 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.