diff options
author | Anton Leherbauer | 2015-06-15 13:57:02 +0000 |
---|---|---|
committer | Uwe Stieber | 2015-06-16 06:36:19 +0000 |
commit | 6b968e82d080de468e846ded50752f8fe34a5b32 (patch) | |
tree | 0a89ec5a4051de8cf2e1a950a2bc3e1de6fa2a62 /plugins/org.eclipse.tcf.core/src/org/eclipse/tcf/services | |
parent | b89ce9367e92247c7c1dde0a5b88cc2cb7024998 (diff) | |
download | org.eclipse.tcf-1.3_WR_20150619_4.2.0_bugfix.tar.gz org.eclipse.tcf-1.3_WR_20150619_4.2.0_bugfix.tar.xz org.eclipse.tcf-1.3_WR_20150619_4.2.0_bugfix.zip |
Bug 470179 - Add SysMonitor context properties "Exe" and "ExeType"1.3_WR_20150619_4.2.0_bugfix
Change-Id: I7d2e9658aaf30023b622c5d28277754b80cbea31
Signed-off-by: Anton Leherbauer <anton.leherbauer@windriver.com>
Diffstat (limited to 'plugins/org.eclipse.tcf.core/src/org/eclipse/tcf/services')
-rw-r--r-- | plugins/org.eclipse.tcf.core/src/org/eclipse/tcf/services/ISysMonitor.java | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/plugins/org.eclipse.tcf.core/src/org/eclipse/tcf/services/ISysMonitor.java b/plugins/org.eclipse.tcf.core/src/org/eclipse/tcf/services/ISysMonitor.java index 29621a5eb..639f1dcda 100644 --- a/plugins/org.eclipse.tcf.core/src/org/eclipse/tcf/services/ISysMonitor.java +++ b/plugins/org.eclipse.tcf.core/src/org/eclipse/tcf/services/ISysMonitor.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2007, 2013 Wind River Systems, Inc. and others. + * Copyright (c) 2007, 2015 Wind River Systems, Inc. and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -234,6 +234,29 @@ public interface ISysMonitor extends IService { /** Scheduling policy */ PROP_POLICY = "Policy"; + /** + * Context property extension. + * @since 1.4 + */ + static final String + /** Full path to executable file of the process */ + PROP_EXE = "Exe", + + /** Executable type (integer). Value is one of: + * 0 = user process + * 1 = kernel thread + * 2 = access denied + * See also EXETYPE_* constants */ + PROP_EXETYPE = "ExeType"; + + /** + * ExeType property values. + * @since 1.4 + */ + static final int + EXETYPE_USER = 0, + EXETYPE_KERNEL = 1, + EXETYPE_ACCESS_DENIED = 2; /** * A context corresponds to an execution thread, process, address space, etc. |