162306a36Sopenharmony_ci/*
262306a36Sopenharmony_ci * Context.xs.  XS interfaces for perf script.
362306a36Sopenharmony_ci *
462306a36Sopenharmony_ci * Copyright (C) 2009 Tom Zanussi <tzanussi@gmail.com>
562306a36Sopenharmony_ci *
662306a36Sopenharmony_ci *  This program is free software; you can redistribute it and/or modify
762306a36Sopenharmony_ci *  it under the terms of the GNU General Public License as published by
862306a36Sopenharmony_ci *  the Free Software Foundation; either version 2 of the License, or
962306a36Sopenharmony_ci *  (at your option) any later version.
1062306a36Sopenharmony_ci *
1162306a36Sopenharmony_ci *  This program is distributed in the hope that it will be useful,
1262306a36Sopenharmony_ci *  but WITHOUT ANY WARRANTY; without even the implied warranty of
1362306a36Sopenharmony_ci *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1462306a36Sopenharmony_ci *  GNU General Public License for more details.
1562306a36Sopenharmony_ci *
1662306a36Sopenharmony_ci *  You should have received a copy of the GNU General Public License
1762306a36Sopenharmony_ci *  along with this program; if not, write to the Free Software
1862306a36Sopenharmony_ci *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
1962306a36Sopenharmony_ci *
2062306a36Sopenharmony_ci */
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_ci#include "EXTERN.h"
2362306a36Sopenharmony_ci#include "perl.h"
2462306a36Sopenharmony_ci#include "XSUB.h"
2562306a36Sopenharmony_ci#include "../../../perf.h"
2662306a36Sopenharmony_ci#include "../../../util/trace-event.h"
2762306a36Sopenharmony_ci
2862306a36Sopenharmony_ciMODULE = Perf::Trace::Context		PACKAGE = Perf::Trace::Context
2962306a36Sopenharmony_ciPROTOTYPES: ENABLE
3062306a36Sopenharmony_ci
3162306a36Sopenharmony_ciint
3262306a36Sopenharmony_cicommon_pc(context)
3362306a36Sopenharmony_ci	struct scripting_context * context
3462306a36Sopenharmony_ci
3562306a36Sopenharmony_ciint
3662306a36Sopenharmony_cicommon_flags(context)
3762306a36Sopenharmony_ci	struct scripting_context * context
3862306a36Sopenharmony_ci
3962306a36Sopenharmony_ciint
4062306a36Sopenharmony_cicommon_lock_depth(context)
4162306a36Sopenharmony_ci	struct scripting_context * context
4262306a36Sopenharmony_ci
43