Skip to content

Commit 20415a8

Browse files
committed
remove unused total_calls struct
Signed-off-by: minh <[email protected]>
1 parent 352abd6 commit 20415a8

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

example/gpu/threadscheduling/threadscheduling.bpf.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,6 @@ struct {
4444
__type(value, u64);
4545
} warp_histogram SEC(".maps");
4646

47-
// Total call counter
48-
struct {
49-
__uint(type, BPF_MAP_TYPE_HASH);
50-
__uint(max_entries, 1);
51-
__type(key, u32);
52-
__type(value, u64);
53-
} total_calls SEC(".maps");
54-
5547
// GPU helper function declarations
5648
static const u64 (*bpf_get_globaltimer)(void) = (void *)502;
5749
static const u64 (*bpf_get_block_idx)(u64 *x, u64 *y, u64 *z) = (void *)503;

0 commit comments

Comments
 (0)