| 1 | /******************************************************************************* |
| 2 | * Copyright (c) 2015 Ericsson |
| 3 | * |
| 4 | * All rights reserved. This program and the accompanying materials |
| 5 | * are made available under the terms of the Eclipse Public License v1.0 |
| 6 | * which accompanies this distribution, and is available at |
| 7 | * http://www.eclipse.org/legal/epl-v10.html |
| 8 | * |
| 9 | * Contributors: |
| 10 | * Matthew Khouzam - Initial API and implementation |
| 11 | *******************************************************************************/ |
| 12 | |
| 13 | package org.eclipse.tracecompass.internal.analysis.os.linux.core.kernel.handlers; |
| 14 | |
| 15 | import org.eclipse.tracecompass.analysis.os.linux.core.trace.IKernelAnalysisEventLayout; |
| 16 | import org.eclipse.tracecompass.statesystem.core.ITmfStateSystemBuilder; |
| 17 | import org.eclipse.tracecompass.statesystem.core.exceptions.AttributeNotFoundException; |
| 18 | import org.eclipse.tracecompass.tmf.core.event.ITmfEvent; |
| 19 | |
| 20 | /** |
| 21 | * Process Exit handler |
| 22 | */ |
| 23 | public class ProcessExitHandler extends KernelEventHandler { |
| 24 | |
| 25 | /** |
| 26 | * Constructor |
| 27 | * |
| 28 | * @param layout |
| 29 | * event layout |
| 30 | */ |
| 31 | public ProcessExitHandler(IKernelAnalysisEventLayout layout) { |
| 32 | super(layout); |
| 33 | } |
| 34 | |
| 35 | @Override |
| 36 | public void handleEvent(ITmfStateSystemBuilder ss, ITmfEvent event) throws AttributeNotFoundException { |
| 37 | /* No state modifications tracked atm */ |
| 38 | } |
| 39 | |
| 40 | } |