Remove trace API

Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
This commit is contained in:
Robert Baldyga
2021-08-09 10:00:01 +02:00
parent 865d29d0cb
commit c1e9c1fa96
7 changed files with 1 additions and 500 deletions

View File

@@ -19,25 +19,11 @@
#include "ocf_stats_priv.h"
#include "cleaning/cleaning.h"
#include "ocf_logger_priv.h"
#include "ocf/ocf_trace.h"
#include "promotion/promotion.h"
#define DIRTY_FLUSHED 1
#define DIRTY_NOT_FLUSHED 0
/**
* @brief Structure used for aggregating trace-related ocf_cache fields
*/
struct ocf_trace {
/* Placeholder for push_event callback */
ocf_trace_callback_t trace_callback;
/* Telemetry context */
void *trace_ctx;
env_atomic64 trace_seq_ref;
};
/* Cache device */
struct ocf_cache_device {
struct ocf_volume volume;
@@ -133,8 +119,6 @@ struct ocf_cache {
bool use_submit_io_fast;
struct {
struct ocf_trace trace;
struct ocf_async_lock lock;
} __attribute__((aligned(64)));
// This should be on it's own cacheline ideally