Skip to content

Commit

Permalink
debug jevents
Browse files Browse the repository at this point in the history
  • Loading branch information
Andi Kleen committed Jun 27, 2024
1 parent eecb6fe commit 051231a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jevents/cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ int resolve_event_extra(const char *name, struct perf_event_attr *attr,
extra = &extras;
for (e = eventlist[h]; e; e = e->next) {
printf("%s vs %s, nlen %d\n", e->name, name, nlen);
if (!strncmp(e->name, name , nlen)) {
if (!strcmp(e->name, name)) {
char *event = real_event(e->name, e->event, nlen);
char *s;

Expand Down

0 comments on commit 051231a

Please sign in to comment.