Skip to content

Commit

Permalink
wakeuptime: remove unused global var exiting
Browse files Browse the repository at this point in the history
  • Loading branch information
woodpenker authored and chenhengqi committed Nov 7, 2022
1 parent d661f8a commit ab19641
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions libbpf-tools/wakeuptime.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
#include "trace_helpers.h"
#include <unistd.h>

static volatile sig_atomic_t exiting = 0;

struct env {
pid_t pid;
bool user_threads_only;
Expand Down Expand Up @@ -153,7 +151,6 @@ static int libbpf_print_fn(enum libbpf_print_level level, const char *format, va

static void sig_int(int signo)
{
exiting = 1;
}

static void print_map(struct ksyms *ksyms, struct wakeuptime_bpf *obj)
Expand Down

0 comments on commit ab19641

Please sign in to comment.