blob: 29c43913c295a8c6f0cb0423f0c174b49006dc1e [file] [log] [blame]
// SPDX-License-Identifier: LGPL-2.1
/*
* Copyright (C) 2021 VMware Inc, Yordan Karadzhov <ykaradzhov@vmware.com>
*/
// C
#include <stdio.h>
// KernelShark
#include "libkshark.h"
#include "libkshark-plugin.h"
/** Load this plugin. */
int KSHARK_PLOT_PLUGIN_INITIALIZER(__attribute__ ((unused)) struct kshark_data_stream *stream)
{
printf("--> plugin1\n");
return 1;
}
/** Unload this plugin. */
int KSHARK_PLOT_PLUGIN_DEINITIALIZER(__attribute__ ((unused)) struct kshark_data_stream *stream)
{
printf("<-- plugin1\n");
return 1;
}